API ReferenceSandbox
public sealed struct Sandbox.ParticleFloat
Represents a floating-point value that can change over time with support for various evaluation modes.
Constructors
Showing 2 constructors
No results match this filter.
Methods
Showing 6 methods
public float GetValue()Obsolete
This is only here to remain "compatible" with RangedFloat
Obsolete: This API member is obsolete.
public bool IsNearlyZero()
Checks if the value is nearly zero.
public static override object JsonRead(System.Text.Json.Utf8JsonReader reader, System.Type typeToConvert)
Reads a ParticleFloat instance from JSON, refactored for modularity.
public static override void JsonWrite(object value, System.Text.Json.Utf8JsonWriter writer)
Writes a ParticleFloat instance to JSON, refactored for modularity.
No results match this filter.
Properties
Showing 8 properties
public float Sandbox.ParticleFloat.ConstantA { get; set; }
public float Sandbox.ParticleFloat.ConstantB { get; set; }
public float Sandbox.ParticleFloat.ConstantValue { get; set; }
public Sandbox.Curve Sandbox.ParticleFloat.CurveA { get; set; }
public Sandbox.Curve Sandbox.ParticleFloat.CurveB { get; set; }
public Sandbox.CurveRange Sandbox.ParticleFloat.CurveRange { get; set; }
public Sandbox.ParticleFloat.EvaluationType Sandbox.ParticleFloat.Evaluation { get; set; }
public Sandbox.ParticleFloat.ValueType Sandbox.ParticleFloat.Type { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.ParticleFloat |