Table of Contents

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

temperature float

The emitter temperature in degrees Celsius. Finite values are clamped to the game's supported range.

range float

The emitter range in world units. Finite values are clamped to the game's supported range.

position Vector3

The 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

float

Temperature

Gets the emitter temperature in degrees Celsius.

public float Temperature { get; }

Property Value

float