Package kr.toxicity.model.api.data.raw
Interface ModelElement
- All Known Implementing Classes:
ModelElement.Camera,ModelElement.Cube,ModelElement.Locator,ModelElement.NullObject,ModelElement.Unsupported
@Internal
public sealed interface ModelElement
permits ModelElement.Locator, ModelElement.Camera, ModelElement.NullObject, ModelElement.Unsupported, ModelElement.Cube
A raw model's element
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA raw model's camerastatic final recordA raw model's cube.static final recordA raw model's locatorstatic final recordA raw model's null objectstatic final recordUnsupported model's object -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.google.gson.JsonDeserializer<ModelElement> Parser -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanChecks this element is supported@NotNull BlueprintElementConverts to blueprint@NotNull Stringtype()Gets type@NotNull Stringuuid()Gets uuid
-
Field Details
-
PARSER
Parser
-
-
Method Details
-
uuid
Gets uuid- Returns:
- uuid
-
type
Gets type- Returns:
- type
-
toBlueprint
Converts to blueprint- Returns:
- blueprint
-
isSupported
default boolean isSupported()Checks this element is supported- Returns:
- supported
-