Class AutomationEvent
java.lang.Object
com.raylib.AutomationEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MemorySegment
The 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 AutomationEvent
allocateArray
(long elementCount) Allocate an array of AutomationEventstatic AutomationEvent
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of AutomationEventboolean
Equality is tested on basis of both wrapper objects must refer to same native memory location to be considered equalint
frame()
Event frameframe
(int value) Event framegetArrayElement
(int index) int
getFrame()
Event frameEvent parameters (if required)int
getType()
Event type (AutomationEventType)int
hashCode()
params()
Event parameters (if required)params
(MemorySegment value) Event parameters (if required)void
setFrame
(int value) Event framevoid
setParams
(MemorySegment value) Event parameters (if required)void
setType
(int value) Event type (AutomationEventType)int
type()
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)
-