Package dev.turboism.sdk.cubism.model
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
ConstructorsConstructorDescriptionCubismMocExportSettings(float originX, float originY, float pixelsPerUnit, boolean includeInvisibleParts, boolean includeSketchParts, boolean includeInvisibleMeshes, boolean includeInvisibleAliases, boolean extendEdgeColors) Creates an instance of aCubismMocExportSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theextendEdgeColorsrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theincludeInvisibleAliasesrecord component.booleanReturns the value of theincludeInvisibleMeshesrecord component.booleanReturns the value of theincludeInvisiblePartsrecord component.booleanReturns the value of theincludeSketchPartsrecord component.floatoriginX()Returns the value of theoriginXrecord component.floatoriginY()Returns the value of theoriginYrecord component.floatReturns the value of thepixelsPerUnitrecord component.final StringtoString()Returns a string representation of this record class.
-
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 aCubismMocExportSettingsrecord class.- Parameters:
originX- the value for theoriginXrecord componentoriginY- the value for theoriginYrecord componentpixelsPerUnit- the value for thepixelsPerUnitrecord componentincludeInvisibleParts- the value for theincludeInvisiblePartsrecord componentincludeSketchParts- the value for theincludeSketchPartsrecord componentincludeInvisibleMeshes- the value for theincludeInvisibleMeshesrecord componentincludeInvisibleAliases- the value for theincludeInvisibleAliasesrecord componentextendEdgeColors- the value for theextendEdgeColorsrecord component
-
-
Method Details
-
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. -
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. -
equals
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 '=='. -
originX
public float originX()Returns the value of theoriginXrecord component.- Returns:
- the value of the
originXrecord component
-
originY
public float originY()Returns the value of theoriginYrecord component.- Returns:
- the value of the
originYrecord component
-
pixelsPerUnit
public float pixelsPerUnit()Returns the value of thepixelsPerUnitrecord component.- Returns:
- the value of the
pixelsPerUnitrecord component
-
includeInvisibleParts
public boolean includeInvisibleParts()Returns the value of theincludeInvisiblePartsrecord component.- Returns:
- the value of the
includeInvisiblePartsrecord component
-
includeSketchParts
public boolean includeSketchParts()Returns the value of theincludeSketchPartsrecord component.- Returns:
- the value of the
includeSketchPartsrecord component
-
includeInvisibleMeshes
public boolean includeInvisibleMeshes()Returns the value of theincludeInvisibleMeshesrecord component.- Returns:
- the value of the
includeInvisibleMeshesrecord component
-
includeInvisibleAliases
public boolean includeInvisibleAliases()Returns the value of theincludeInvisibleAliasesrecord component.- Returns:
- the value of the
includeInvisibleAliasesrecord component
-
extendEdgeColors
public boolean extendEdgeColors()Returns the value of theextendEdgeColorsrecord component.- Returns:
- the value of the
extendEdgeColorsrecord component
-