Class SpawnLocation
Defines the spawn location with world position and optional euler angles. Used in the Coordinated Spawns system.
public record SpawnLocation : IEquatable<SpawnLocation>
- Inheritance
-
SpawnLocation
- Implements
- Inherited Members
- Extension Methods
Constructors
SpawnLocation(Vector3, Vector3)
Defines the spawn location with world position and optional euler angles. Used in the Coordinated Spawns system.
public SpawnLocation(Vector3 Position, Vector3 EulerAngles = default)
Parameters
PositionVector3- The world position.
EulerAnglesVector3- Euler angles for the rotation the spawned object will appear with.
Properties
EulerAngles
Euler angles for the rotation the spawned object will appear with.
public Vector3 EulerAngles { get; init; }
Property Value
- Vector3
Position
The world position.
public Vector3 Position { get; init; }
Property Value
- Vector3