Package dev.turboism.sdk.cubism.model
Interface ModelObjectCreateRequest
- All Known Implementing Classes:
ModelObjectCreateRequest.ArtMesh,ModelObjectCreateRequest.Part,ModelObjectCreateRequest.RotationDeformer,ModelObjectCreateRequest.WarpDeformer
@CubismEditor
public sealed interface ModelObjectCreateRequest
permits ModelObjectCreateRequest.Part, ModelObjectCreateRequest.ArtMesh, ModelObjectCreateRequest.WarpDeformer, ModelObjectCreateRequest.RotationDeformer
Typed creation requests for model objects.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordCreates an ArtMesh with explicit geometry under a Part or Deformer parent.static final recordCreates a Part; aparent, when present, must itself be a Part.static final recordCreates a Rotation Deformer with the given keyform under a Part or Deformer parent.static final recordCreates a Warp Deformer with the given grid under a Part or Deformer parent. -
Method Summary
-
Method Details
-
kind
ModelObjectKind kind()Returns the kind of model object this request creates. -
name
String name()Returns the new object's display name. -
parent
Optional<ModelObjectReference> parent()Returns the intended parent, or empty to attach at the model root.
-