SpawnEvent

Inherits from MetricEvent

Summary

Constructors

SpawnEvent()
SpawnEvent(guid: Guid)
SpawnEvent(other: MetricEvent)
SpawnEvent(other: DataContainer)

Properties

Name Type
position Vec3
time float

Static members

Name Type
SpawnEvent.typeInfo TypeInformation

Constructors

SpawnEvent

SpawnEvent()

Creates a new SpawnEvent frostbite instance.

SpawnEvent

SpawnEvent(guid: Guid)

Creates a new SpawnEvent frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

SpawnEvent

SpawnEvent(other: MetricEvent)

Casts an instance of type MetricEvent to SpawnEvent. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other MetricEvent The instance to cast to SpawnEvent.

SpawnEvent

SpawnEvent(other: DataContainer)

Casts an instance of type DataContainer to SpawnEvent. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to SpawnEvent.

Properties

position

Vec3

time

float

Static members

typeInfo

TypeInformation

The type information for the SpawnEvent type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351c)