Table of Contents

Class SpawnLocation

Namespace
Nautilus.Assets
Assembly
Nautilus.dll
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

Position Vector3
The world position.
EulerAngles Vector3
Euler angles for the rotation the spawned object will appear with.

SpawnLocation(Vector3, 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, Vector3 Scale)

Parameters

Position Vector3
The world position.
EulerAngles Vector3
Euler angles for the rotation the spawned object will appear with.
Scale Vector3
The scale that the object is spawned at. If default (0, 0, 0) will be resolved to (1, 1, 1).

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

Scale

The scale that the object is spawned at. If default (0, 0, 0) will be resolved to (1, 1, 1).
public Vector3 Scale { get; init; }

Property Value

Vector3