Class BoneInfo
java.lang.Object
com.raylib.BoneInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal MemorySegmentThe 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 BoneInfoallocateArray(long elementCount) Allocate an array of BoneInfostatic BoneInfoallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of BoneInfobooleanEquality is tested on basis of both wrapper objects must refer to same native memory location to be considered equalgetArrayElement(int index) getName()Bone nameintBone parentinthashCode()name()Bone namename(MemorySegment value) Bone nameintparent()Bone parentparent(int value) Bone parentvoidsetName(MemorySegment value) Bone namevoidsetParent(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
-