Interface BlueprintElement

All Known Subinterfaces:
BlueprintElement.Bone
All Known Implementing Classes:
BlueprintElement.Camera, BlueprintElement.Cube, BlueprintElement.Group, BlueprintElement.Locator, BlueprintElement.NullObject

public sealed interface BlueprintElement permits BlueprintElement.Bone, BlueprintElement.Camera, BlueprintElement.Cube
Represents a processed element within a model blueprint.

This is a sealed interface with implementations for different types of elements like bones, groups, cubes, and locators.

Since:
1.15.2
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Represents an element that acts as a bone in the model's armature.
    static final record 
    Represents a camera element (currently a placeholder).
    static final record 
    Represents a cube element, the basic building block of a model.
    static final record 
    Represents a group of elements, forming a bone in the hierarchy.
    static final record 
    Represents a locator element, used as a named attachment point.
    static final record 
    Represents a null object, often used for IK or as a simple bone.
  • Method Summary

    Modifier and Type
    Method
    Description
    default @NotNull Float3
    Returns the rotation of the element.
    default boolean
    Checks if the element is visible.
  • Method Details

    • rotation

      @NotNull default @NotNull Float3 rotation()
      Returns the rotation of the element.
      Returns:
      the rotation, defaulting to zero
      Since:
      1.15.2
    • visibility

      default boolean visibility()
      Checks if the element is visible.
      Returns:
      true if visible, false otherwise
      Since:
      1.15.2