Record Class CubismMocExportSettings

java.lang.Object
java.lang.Record
dev.turboism.sdk.cubism.model.CubismMocExportSettings

@CubismEditor(from="5.3.00") public record CubismMocExportSettings(float originX, float originY, float pixelsPerUnit, boolean includeInvisibleParts, boolean includeSketchParts, boolean includeInvisibleMeshes, boolean includeInvisibleAliases, boolean extendEdgeColors) extends Record
Explicit settings for official MOC 5.3 export; origin and scale use canvas pixels.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CubismMocExportSettings(float originX, float originY, float pixelsPerUnit, boolean includeInvisibleParts, boolean includeSketchParts, boolean includeInvisibleMeshes, boolean includeInvisibleAliases, boolean extendEdgeColors)
    Creates an instance of a CubismMocExportSettings record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    boolean
    Returns the value of the extendEdgeColors record component.
    final int
    Returns a hash code value for this object.
    boolean
    Returns the value of the includeInvisibleAliases record component.
    boolean
    Returns the value of the includeInvisibleMeshes record component.
    boolean
    Returns the value of the includeInvisibleParts record component.
    boolean
    Returns the value of the includeSketchParts record component.
    float
    Returns the value of the originX record component.
    float
    Returns the value of the originY record component.
    float
    Returns the value of the pixelsPerUnit record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CubismMocExportSettings

      public CubismMocExportSettings(float originX, float originY, float pixelsPerUnit, boolean includeInvisibleParts, boolean includeSketchParts, boolean includeInvisibleMeshes, boolean includeInvisibleAliases, boolean extendEdgeColors)
      Creates an instance of a CubismMocExportSettings record class.
      Parameters:
      originX - the value for the originX record component
      originY - the value for the originY record component
      pixelsPerUnit - the value for the pixelsPerUnit record component
      includeInvisibleParts - the value for the includeInvisibleParts record component
      includeSketchParts - the value for the includeSketchParts record component
      includeInvisibleMeshes - the value for the includeInvisibleMeshes record component
      includeInvisibleAliases - the value for the includeInvisibleAliases record component
      extendEdgeColors - the value for the extendEdgeColors record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • originX

      public float originX()
      Returns the value of the originX record component.
      Returns:
      the value of the originX record component
    • originY

      public float originY()
      Returns the value of the originY record component.
      Returns:
      the value of the originY record component
    • pixelsPerUnit

      public float pixelsPerUnit()
      Returns the value of the pixelsPerUnit record component.
      Returns:
      the value of the pixelsPerUnit record component
    • includeInvisibleParts

      public boolean includeInvisibleParts()
      Returns the value of the includeInvisibleParts record component.
      Returns:
      the value of the includeInvisibleParts record component
    • includeSketchParts

      public boolean includeSketchParts()
      Returns the value of the includeSketchParts record component.
      Returns:
      the value of the includeSketchParts record component
    • includeInvisibleMeshes

      public boolean includeInvisibleMeshes()
      Returns the value of the includeInvisibleMeshes record component.
      Returns:
      the value of the includeInvisibleMeshes record component
    • includeInvisibleAliases

      public boolean includeInvisibleAliases()
      Returns the value of the includeInvisibleAliases record component.
      Returns:
      the value of the includeInvisibleAliases record component
    • extendEdgeColors

      public boolean extendEdgeColors()
      Returns the value of the extendEdgeColors record component.
      Returns:
      the value of the extendEdgeColors record component