Record Class BlueprintElement.NullObject
java.lang.Object
java.lang.Record
kr.toxicity.model.api.data.blueprint.BlueprintElement.NullObject
- Record Components:
uuid- uuidname- nameikTarget- ik targetikSource- ik sourceorigin- origin
- 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
Blueprint null object
-
Nested Class Summary
Nested classes/interfaces inherited from interface kr.toxicity.model.api.data.blueprint.BlueprintElement
BlueprintElement.BlueprintCamera, BlueprintElement.Bone, 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()Gets originfinal 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
Gets origin- Specified by:
originin interfaceBlueprintElement.Bone- Returns:
- origin
-
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
-