DecalTemplateData
Inherits from Asset
Summary
Constructors
DecalTemplateData() |
DecalTemplateData(guid: Guid) |
DecalTemplateData(other: Asset) |
DecalTemplateData(other: DataContainer) |
Properties
Name | Type |
---|---|
size | float |
randomSize | float |
rotation | float |
randomRotation | float |
clipAngle | float |
proximityRadiusFactor | float |
normalOffset | float |
shader | SurfaceShaderBaseAsset | nil |
meshUVIndex | int |
atlasTile | DecalAtlasTile |
sortingPriority | int |
projected | bool |
projectMultiple | bool |
materialIndex | int |
Static members
Name | Type |
---|---|
DecalTemplateData.typeInfo | TypeInformation |
Constructors
DecalTemplateData
DecalTemplateData()
Creates a new DecalTemplateData frostbite instance.
DecalTemplateData
DecalTemplateData(guid: Guid)
Creates a new DecalTemplateData frostbite instance and assigns it the provided Guid.
Parameters
Name | Type | Description |
---|---|---|
guid | Guid | The Guid to assign to the newly created instance. |
DecalTemplateData
DecalTemplateData(other: Asset)
Casts an instance of type Asset to DecalTemplateData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | Asset | The instance to cast to DecalTemplateData. |
DecalTemplateData
DecalTemplateData(other: DataContainer)
Casts an instance of type DataContainer to DecalTemplateData. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | DataContainer | The instance to cast to DecalTemplateData. |
Properties
size
float
randomSize
float
rotation
float
randomRotation
float
clipAngle
float
proximityRadiusFactor
float
normalOffset
float
shader
SurfaceShaderBaseAsset | nil
meshUVIndex
int
atlasTile
sortingPriority
int
projected
bool
projectMultiple
bool
materialIndex
int
Static members
typeInfo
The type information for the DecalTemplateData type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)