Record Class BlueprintElement.NullObject
java.lang.Object
java.lang.Record
kr.toxicity.model.api.data.blueprint.BlueprintElement.NullObject
- Record Components:
uuid- the UUID of the null objectname- the name of the null objectikTarget- the UUID of the IK target boneikSource- the UUID of the IK source boneorigin- the position of the null object
- All Implemented Interfaces:
BlueprintElement,BlueprintElement.Bone
- Enclosing interface:
BlueprintElement
public static record BlueprintElement.NullObject(@NotNull UUID uuid, @NotNull BoneName name, @Nullable UUID ikTarget, @Nullable UUID ikSource, @NotNull Float3 origin)
extends Record
implements BlueprintElement.Bone
Represents a null object, often used for IK or as a simple bone.
- Since:
- 1.15.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface kr.toxicity.model.api.data.blueprint.BlueprintElement
BlueprintElement.Bone, BlueprintElement.Camera, BlueprintElement.Cube, BlueprintElement.Group, BlueprintElement.Locator, BlueprintElement.NullObject -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable UUIDikSource()Returns the value of theikSourcerecord component.@Nullable UUIDikTarget()Returns the value of theikTargetrecord component.@NotNull BoneNamename()Returns the value of thenamerecord component.@NotNull Float3origin()Returns the origin with inverted X and Z axes.final StringtoString()Returns a string representation of this record class.@NotNull UUIDuuid()Returns the value of theuuidrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface kr.toxicity.model.api.data.blueprint.BlueprintElement
rotation, visibility
-
Constructor Details
-
Method Details
-
origin
Returns the origin with inverted X and Z axes.- Specified by:
originin interfaceBlueprintElement.Bone- Returns:
- the inverted origin
- Since:
- 1.15.2
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
uuid
Returns the value of theuuidrecord component.- Specified by:
uuidin interfaceBlueprintElement.Bone- Returns:
- the value of the
uuidrecord component
-
name
Returns the value of thenamerecord component.- Specified by:
namein interfaceBlueprintElement.Bone- Returns:
- the value of the
namerecord component
-
ikTarget
Returns the value of theikTargetrecord component.- Returns:
- the value of the
ikTargetrecord component
-
ikSource
Returns the value of theikSourcerecord component.- Returns:
- the value of the
ikSourcerecord component
-