ModelScaler
interface ModelScaler
Defines how a model's scale is calculated.
Scalers can be constant values, derived from entity attributes, or composites of multiple scalers. They are serializable to JSON for configuration purposes.
Since
1.15.2
Inheritors
Types
Link copied to clipboard
Helper interface for built-in deserializers.
Link copied to clipboard
Implementation of a composite scaler.
Link copied to clipboard
class Deserializer
Registry and factory for scalers.
Functions
Link copied to clipboard
Multiplies this scaler by another scaler.
Creates a composite scaler that multiplies the results of multiple scalers.
Link copied to clipboard
Returns the default scaler (constant 1.0).
Link copied to clipboard
Deserializes a scaler from a JSON object.
Link copied to clipboard
Returns a scaler that uses the entity's scale attribute.
Link copied to clipboard
Multiplies this scaler by a constant value.
Link copied to clipboard
Returns a constant value scaler.