Package noppes.npcs.api.entity.data
Interface IModelScalePart
-
public interface IModelScalePart
Represents the scale configuration for a specific part of a model. Allows setting and retrieving scale factors along the X, Y, and Z axes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getScaleX()
Returns the scale factor along the X-axis.float
getScaleY()
Returns the scale factor along the Y-axis.float
getScaleZ()
Returns the scale factor along the Z-axis.void
setScale(float x, float y, float z)
Sets the scale factors for this model part.
-
-
-
Method Detail
-
setScale
void setScale(float x, float y, float z)
Sets the scale factors for this model part.- Parameters:
x
- the scale factor along the X-axis.y
- the scale factor along the Y-axis.z
- the scale factor along the Z-axis.
-
getScaleX
float getScaleX()
Returns the scale factor along the X-axis.- Returns:
- the X-axis scale.
-
getScaleY
float getScaleY()
Returns the scale factor along the Y-axis.- Returns:
- the Y-axis scale.
-
getScaleZ
float getScaleZ()
Returns the scale factor along the Z-axis.- Returns:
- the Z-axis scale.
-
-