HeightfieldTreeAsset

Inherits from RasterTreeAsset

Summary

Constructors

HeightfieldTreeAsset()
HeightfieldTreeAsset(guid: Guid)
HeightfieldTreeAsset(other: RasterTreeAsset)
HeightfieldTreeAsset(other: DataContainer)

Properties

Name Type
minHeightWidth float
minHeightSamplesPerSide int

Static members

Name Type
HeightfieldTreeAsset.typeInfo TypeInformation

Constructors

HeightfieldTreeAsset

HeightfieldTreeAsset()

Creates a new HeightfieldTreeAsset frostbite instance.

HeightfieldTreeAsset

HeightfieldTreeAsset(guid: Guid)

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

Parameters

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

HeightfieldTreeAsset

HeightfieldTreeAsset(other: RasterTreeAsset)

Casts an instance of type RasterTreeAsset to HeightfieldTreeAsset. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other RasterTreeAsset The instance to cast to HeightfieldTreeAsset.

HeightfieldTreeAsset

HeightfieldTreeAsset(other: DataContainer)

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

Parameters

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

Properties

minHeightWidth

float

minHeightSamplesPerSide

int

Static members

typeInfo

TypeInformation

The type information for the HeightfieldTreeAsset type.

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