Record Class BlueprintElement.Locator
java.lang.Object
java.lang.Record
kr.toxicity.model.api.data.blueprint.BlueprintElement.Locator
- Record Components:
uuid- the UUID of the locatorname- the name of the locatororigin- the position of the locator
- All Implemented Interfaces:
BlueprintElement, BlueprintElement.Bone
- Enclosing interface:
BlueprintElement
public static record BlueprintElement.Locator(@NotNull UUID uuid, @NotNull BoneName name, @NotNull Float3 origin)
extends Record
implements BlueprintElement.Bone
Represents a locator element, used as a named attachment point.
- Since:
- 1.15.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface BlueprintElement
BlueprintElement.Bone, BlueprintElement.Camera, BlueprintElement.Cube, BlueprintElement.Group, BlueprintElement.Locator, BlueprintElement.Mesh, BlueprintElement.NullObject -
Field Summary
Fields inherited from interface BlueprintElement
MESH_PIXEL, MESH_TRIANGLE_DUPLEX, MESH_TRIANGLE_SINGLE -
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.@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 interface BlueprintElement
rotation, visibility
-
Constructor Details
-
Locator
-
-
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
-
hashCode
-
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
-