Locator

Represents a locator element, used for positioning attachments or particles.

Since

1.15.2

Parameters

name

the name of the locator

uuid

the UUID of the locator

position

the position of the locator

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val PARSER: JsonDeserializer<ModelElement>
A JSON deserializer that automatically dispatches to the correct ModelElement implementation based on the "type" field.

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun isSupported(): Boolean
Checks if this element type is supported by the engine.
Link copied to clipboard
@NotNull
open fun position(): @NotNull Float3
Returns the position of the locator.
Link copied to clipboard
@NotNull
open fun toBlueprint(): @NotNull BlueprintElement
Converts this raw element into a processed BlueprintElement.
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
@NotNull
open fun type(): @NotNull String
Returns the type identifier of this element (e.g., "cube", "locator").
Link copied to clipboard
@NotNull
abstract fun uuid(): @NotNull String
Returns the unique identifier (UUID) of this element.