Composite

Composited scaler

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
@NotNull
open fun composite(@NotNull scaler: @NotNull ModelScaler): @NotNull ModelScaler
Composites this scaler to another one (a * b)
@NotNull
open fun composite(@NotNull scalers: Array<@NotNull ModelScaler>): @NotNull ModelScaler
Gets the composited scaler (a * b)
Link copied to clipboard
open fun data(): JsonElement
Gets the data of this scaler
Link copied to clipboard
@NotNull
open fun defaultScaler(): @NotNull ModelScaler
Gets the default scaler (1.
Link copied to clipboard
@NotNull
open fun deserialize(@NotNull element: @NotNull JsonObject): @NotNull ModelScaler
Deserializes scaler from JSON
Link copied to clipboard
@NotNull
open fun entity(): @NotNull ModelScaler
Gets the entity's attribute scaler
Link copied to clipboard
@NotNull
open fun multiply(value: Float): @NotNull ModelScaler
Multiplies this scaler
Link copied to clipboard
@NotNull
open fun name(): @NotNull String
Gets this scaler's name
Link copied to clipboard
open fun scale(@NotNull tracker: @NotNull Tracker): Float
Gets the scale of this tracker
Link copied to clipboard
@NotNull
open fun serialize(): @NotNull JsonObject
Serializes this scaler to JSON
Link copied to clipboard
@NotNull
open fun value(value: Float): @NotNull ModelScaler
Gets the constant scaler (value)