Camera

Represents a camera element (currently used as a placeholder).

Since

1.15.2

Parameters

uuid

the UUID of the camera

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val CAMERA: String = "camera"
The type identifier for a camera element.
Link copied to clipboard
val CUBE: String = "cube"
The type identifier for a cube element.
Link copied to clipboard
val LOCATOR: String = "locator"
The type identifier for a locator element.
Link copied to clipboard
val MESH: String = "mesh"
The type identifier for a mesh element.
Link copied to clipboard
val NULL_OBJECT: String = "null_object"
The type identifier for a null object element.
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 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.