DamageEffectComponentData
Inherits from ComponentData
Summary
Constructors
Properties
| Name | Type |
|---|---|
| rightDamage | Vec4 |
| topDamage | Vec4 |
| leftDamage | Vec4 |
| bottomDamage | Vec4 |
| outerFrameOpacity | float |
| innerFrameOpacity | float |
| frameWidth | float |
| shader | SurfaceShaderBaseAsset | nil |
| startCriticalEffectHealthThreshold | float |
| endCriticalEffectHealthThreshold | float |
| minDamagePercentageThreshold | float |
| fallofTime | float |
| maxOpacityDamagePercentage | float |
| realm | Realm |
| debugDamage | bool |
Static members
| Name | Type |
|---|---|
| DamageEffectComponentData.typeInfo | TypeInformation |
Constructors
DamageEffectComponentData
DamageEffectComponentData()
Creates a new DamageEffectComponentData frostbite instance.
DamageEffectComponentData
DamageEffectComponentData(guid: Guid)
Creates a new DamageEffectComponentData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
DamageEffectComponentData
DamageEffectComponentData(other: ComponentData)
Casts an instance of type ComponentData to DamageEffectComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | ComponentData | The instance to cast to DamageEffectComponentData. |
DamageEffectComponentData
DamageEffectComponentData(other: GameObjectData)
Casts an instance of type GameObjectData to DamageEffectComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameObjectData | The instance to cast to DamageEffectComponentData. |
DamageEffectComponentData
DamageEffectComponentData(other: GameDataContainer)
Casts an instance of type GameDataContainer to DamageEffectComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | GameDataContainer | The instance to cast to DamageEffectComponentData. |
DamageEffectComponentData
DamageEffectComponentData(other: DataContainer)
Casts an instance of type DataContainer to DamageEffectComponentData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to DamageEffectComponentData. |
Properties
rightDamage
topDamage
leftDamage
bottomDamage
outerFrameOpacity
float
innerFrameOpacity
float
frameWidth
float
shader
SurfaceShaderBaseAsset | nil
startCriticalEffectHealthThreshold
float
endCriticalEffectHealthThreshold
float
minDamagePercentageThreshold
float
fallofTime
float
maxOpacityDamagePercentage
float
realm
debugDamage
bool
Static members
typeInfo
The type information for the DamageEffectComponentData type.