Class BoneInfo
java.lang.Object
com.raylib.BoneInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MemorySegment
The native FFI MemorySegment that holds the data this object wraps. -
Constructor Summary
ConstructorsConstructorDescriptionBoneInfo()
Construct with auto memory allocator and fields initialized to zero.BoneInfo
(MemorySegment memorySegment) Construct by wrapping around an already allocated MemorySegment, perhaps from another objectBoneInfo
(MemorySegment name, int parent) Construct with auto memory allocator and fields initialized as specifiedBoneInfo
(SegmentAllocator arena) Construct with your owm memory allocator and fields not initializedBoneInfo
(SegmentAllocator arena, MemorySegment name, int parent) Construct with your own memory allocator and fields initialized as specified -
Method Summary
Modifier and TypeMethodDescriptionstatic BoneInfo
allocateArray
(long elementCount) Allocate an array of BoneInfostatic BoneInfo
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of BoneInfoboolean
Equality is tested on basis of both wrapper objects must refer to same native memory location to be considered equalgetArrayElement
(int index) getName()
Bone nameint
Bone parentint
hashCode()
name()
Bone namename
(MemorySegment value) Bone nameint
parent()
Bone parentparent
(int value) Bone parentvoid
setName
(MemorySegment value) Bone namevoid
setParent
(int value) Bone parent
-
Field Details
-
memorySegment
The native FFI MemorySegment that holds the data this object wraps.
-
-
Constructor Details
-
BoneInfo
public BoneInfo()Construct with auto memory allocator and fields initialized to zero. -
BoneInfo
Construct with your owm memory allocator and fields not initialized -
BoneInfo
Construct by wrapping around an already allocated MemorySegment, perhaps from another object -
BoneInfo
Construct with auto memory allocator and fields initialized as specified- Parameters:
name
- Bone nameparent
- Bone parent
-
BoneInfo
Construct with your own memory allocator and fields initialized as specified- Parameters:
name
- Bone nameparent
- Bone parent
-
-
Method Details
-
equals
-
hashCode
-
getArrayElement
-
allocateArray
Allocate an array of BoneInfo -
allocateArray
Allocate an array of BoneInfo -
getName
Bone name -
setName
Bone name -
name
Bone name -
name
Bone name -
getParent
public int getParent()Bone parent -
setParent
public void setParent(int value) Bone parent -
parent
public int parent()Bone parent -
parent
Bone parent
-