WeaponShotModifier
Inherits from WeaponModifierBase
Summary
Constructors
WeaponShotModifier() |
WeaponShotModifier(guid: Guid) |
WeaponShotModifier(other: WeaponModifierBase) |
WeaponShotModifier(other: DataContainer) |
Properties
Name | Type |
---|---|
initialSpeed | Vec3 |
numberOfBulletsPerShell | int |
Static members
Name | Type |
---|---|
WeaponShotModifier.typeInfo | TypeInformation |
Constructors
WeaponShotModifier
WeaponShotModifier()
Creates a new WeaponShotModifier frostbite instance.
WeaponShotModifier
WeaponShotModifier(guid: Guid)
Creates a new WeaponShotModifier frostbite instance and assigns it the provided Guid.
Parameters
Name | Type | Description |
---|---|---|
guid | Guid | The Guid to assign to the newly created instance. |
WeaponShotModifier
WeaponShotModifier(other: WeaponModifierBase)
Casts an instance of type WeaponModifierBase to WeaponShotModifier. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | WeaponModifierBase | The instance to cast to WeaponShotModifier. |
WeaponShotModifier
WeaponShotModifier(other: DataContainer)
Casts an instance of type DataContainer to WeaponShotModifier. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | DataContainer | The instance to cast to WeaponShotModifier. |
Properties
initialSpeed
numberOfBulletsPerShell
int
Static members
typeInfo
The type information for the WeaponShotModifier type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)