DebugTextEntityData

Inherits from SpatialEntityData

Summary

Constructors

DebugTextEntityData()
DebugTextEntityData(guid: Guid)
DebugTextEntityData(other: SpatialEntityData)
DebugTextEntityData(other: EntityData)
DebugTextEntityData(other: GameObjectData)
DebugTextEntityData(other: GameDataContainer)
DebugTextEntityData(other: DataContainer)

Properties

Name Type
textColor Vec3
debugText string
realm Realm
scale float
visible bool
centered bool
depthTest bool
scaleWithDistance bool

Static members

Name Type
DebugTextEntityData.typeInfo TypeInformation

Constructors

DebugTextEntityData

DebugTextEntityData()

Creates a new DebugTextEntityData frostbite instance.

DebugTextEntityData

DebugTextEntityData(guid: Guid)

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

Parameters

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

DebugTextEntityData

DebugTextEntityData(other: SpatialEntityData)

Casts an instance of type SpatialEntityData to DebugTextEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other SpatialEntityData The instance to cast to DebugTextEntityData.

DebugTextEntityData

DebugTextEntityData(other: EntityData)

Casts an instance of type EntityData to DebugTextEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other EntityData The instance to cast to DebugTextEntityData.

DebugTextEntityData

DebugTextEntityData(other: GameObjectData)

Casts an instance of type GameObjectData to DebugTextEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameObjectData The instance to cast to DebugTextEntityData.

DebugTextEntityData

DebugTextEntityData(other: GameDataContainer)

Casts an instance of type GameDataContainer to DebugTextEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameDataContainer The instance to cast to DebugTextEntityData.

DebugTextEntityData

DebugTextEntityData(other: DataContainer)

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

Parameters

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

Properties

textColor

Vec3

debugText

string

realm

Realm

scale

float

visible

bool

centered

bool

depthTest

bool

scaleWithDistance

bool

Static members

typeInfo

TypeInformation

The type information for the DebugTextEntityData type.

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