Class AutomationEvent
java.lang.Object
com.raylib.AutomationEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MemorySegmentThe native FFI MemorySegment that holds the data this object wraps. -
Constructor Summary
ConstructorsConstructorDescriptionConstruct with auto memory allocator and fields initialized to zero.AutomationEvent(int frame, int type, MemorySegment params) Construct with auto memory allocator and fields initialized as specifiedAutomationEvent(MemorySegment memorySegment) Construct by wrapping around an already allocated MemorySegment, perhaps from another objectAutomationEvent(SegmentAllocator arena) Construct with your owm memory allocator and fields not initializedAutomationEvent(SegmentAllocator arena, int frame, int type, MemorySegment params) Construct with your own memory allocator and fields initialized as specified -
Method Summary
Modifier and TypeMethodDescriptionstatic AutomationEventallocateArray(long elementCount) Allocate an array of AutomationEventstatic AutomationEventallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of AutomationEventbooleanEquality is tested on basis of both wrapper objects must refer to same native memory location to be considered equalintframe()Event frameframe(int value) Event framegetArrayElement(int index) intgetFrame()Event frameEvent parameters (if required)intgetType()Event type (AutomationEventType)inthashCode()params()Event parameters (if required)params(MemorySegment value) Event parameters (if required)voidsetFrame(int value) Event framevoidsetParams(MemorySegment value) Event parameters (if required)voidsetType(int value) Event type (AutomationEventType)inttype()Event type (AutomationEventType)type(int value) Event type (AutomationEventType)
-
Field Details
-
memorySegment
The native FFI MemorySegment that holds the data this object wraps.
-
-
Constructor Details
-
AutomationEvent
public AutomationEvent()Construct with auto memory allocator and fields initialized to zero. -
AutomationEvent
Construct with your owm memory allocator and fields not initialized -
AutomationEvent
Construct by wrapping around an already allocated MemorySegment, perhaps from another object -
AutomationEvent
Construct with auto memory allocator and fields initialized as specified- Parameters:
frame- Event frametype- Event type (AutomationEventType)params- Event parameters (if required)
-
AutomationEvent
Construct with your own memory allocator and fields initialized as specified- Parameters:
frame- Event frametype- Event type (AutomationEventType)params- Event parameters (if required)
-
-
Method Details
-
equals
-
hashCode
-
getArrayElement
-
allocateArray
Allocate an array of AutomationEvent -
allocateArray
Allocate an array of AutomationEvent -
getFrame
public int getFrame()Event frame -
setFrame
public void setFrame(int value) Event frame -
frame
public int frame()Event frame -
frame
Event frame -
getType
public int getType()Event type (AutomationEventType) -
setType
public void setType(int value) Event type (AutomationEventType) -
type
public int type()Event type (AutomationEventType) -
type
Event type (AutomationEventType) -
getParams
Event parameters (if required) -
setParams
Event parameters (if required) -
params
Event parameters (if required) -
params
Event parameters (if required)
-