LightningGeneratorOnGenerateLightningBolt Method |
Fires when a lightning bolt needs to be generated
Namespace:
DigitalRuby.ThunderAndLightning
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax protected virtual void OnGenerateLightningBolt(
LightningBolt bolt,
Vector3 start,
Vector3 end,
LightningBoltParameters parameters
)
Protected Overridable Sub OnGenerateLightningBolt (
bolt As LightningBolt,
start As Vector3,
end As Vector3,
parameters As LightningBoltParameters
)
protected:
virtual void OnGenerateLightningBolt(
LightningBolt^ bolt,
Vector3 start,
Vector3 end,
LightningBoltParameters^ parameters
)
abstract OnGenerateLightningBolt :
bolt : LightningBolt *
start : Vector3 *
end : Vector3 *
parameters : LightningBoltParameters -> unit
override OnGenerateLightningBolt :
bolt : LightningBolt *
start : Vector3 *
end : Vector3 *
parameters : LightningBoltParameters -> unit
Parameters
- bolt
- Type: DigitalRuby.ThunderAndLightningLightningBolt
Lightning bolt - start
- Type: Vector3
Start position - end
- Type: Vector3
End position - parameters
- Type: DigitalRuby.ThunderAndLightningLightningBoltParameters
Parameters
See Also