Struct TemperatureEmitterInfo
- Namespace
- S1API.Temperature
- Assembly
- S1API.dll
Describes one temperature emitter for a point-temperature query.
public readonly struct TemperatureEmitterInfo
- Inherited Members
- Extension Methods
Constructors
TemperatureEmitterInfo(float, float, Vector3)
Creates a temperature-emitter snapshot.
public TemperatureEmitterInfo(float temperature, float range, Vector3 position)
Parameters
temperaturefloatThe emitter temperature in degrees Celsius. Finite values are clamped to the game's supported range.
rangefloatThe emitter range in world units. Finite values are clamped to the game's supported range.
positionVector3The emitter position in world space. Every component must be finite.
Exceptions
- ArgumentOutOfRangeException
An argument is not finite.
Properties
Position
Gets the emitter position in world space.
public Vector3 Position { get; }
Property Value
- Vector3
Range
Gets the emitter range in world units.
public float Range { get; }
Property Value
Temperature
Gets the emitter temperature in degrees Celsius.
public float Temperature { get; }