Package com.raylib
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 equalgetArrayElement(int index) intgetFrame()Event frameEvent parameters (if required)intgetType()Event type (AutomationEventType)inthashCode()setFrame(int value) Event framesetParams(MemorySegment value) Event parameters (if required)setType(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
Event frame -
getType
public int getType()Event type (AutomationEventType) -
setType
Event type (AutomationEventType) -
getParams
Event parameters (if required) -
setParams
Event parameters (if required)
-