TerrainEntityData

Inherits from GamePhysicsEntityData

Summary

Constructors

TerrainEntityData()
TerrainEntityData(guid: Guid)
TerrainEntityData(other: GamePhysicsEntityData)
TerrainEntityData(other: GameEntityData)
TerrainEntityData(other: SpatialEntityData)
TerrainEntityData(other: EntityData)
TerrainEntityData(other: GameObjectData)
TerrainEntityData(other: GameDataContainer)
TerrainEntityData(other: DataContainer)

Properties

Name Type
terrainAsset TerrainData | nil
waterMaterial MaterialContainerPair | nil
visible bool

Static members

Name Type
TerrainEntityData.typeInfo TypeInformation

Constructors

TerrainEntityData

TerrainEntityData()

Creates a new TerrainEntityData frostbite instance.

TerrainEntityData

TerrainEntityData(guid: Guid)

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

Parameters

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

TerrainEntityData

TerrainEntityData(other: GamePhysicsEntityData)

Casts an instance of type GamePhysicsEntityData to TerrainEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GamePhysicsEntityData The instance to cast to TerrainEntityData.

TerrainEntityData

TerrainEntityData(other: GameEntityData)

Casts an instance of type GameEntityData to TerrainEntityData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameEntityData The instance to cast to TerrainEntityData.

TerrainEntityData

TerrainEntityData(other: SpatialEntityData)

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

Parameters

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

TerrainEntityData

TerrainEntityData(other: EntityData)

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

Parameters

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

TerrainEntityData

TerrainEntityData(other: GameObjectData)

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

Parameters

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

TerrainEntityData

TerrainEntityData(other: GameDataContainer)

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

Parameters

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

TerrainEntityData

TerrainEntityData(other: DataContainer)

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

Parameters

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

Properties

terrainAsset

TerrainData | nil

waterMaterial

MaterialContainerPair | nil

visible

bool

Static members

typeInfo

TypeInformation

The type information for the TerrainEntityData type.

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