LightningGeneratorGenerateLightningBoltStandard Method |
Generate a normal/standard lightning bolt
Namespace:
DigitalRuby.ThunderAndLightning
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void GenerateLightningBoltStandard(
LightningBolt bolt,
Vector3 start,
Vector3 end,
int generation,
int totalGenerations,
float offsetAmount,
LightningBoltParameters parameters
)
Public Sub GenerateLightningBoltStandard (
bolt As LightningBolt,
start As Vector3,
end As Vector3,
generation As Integer,
totalGenerations As Integer,
offsetAmount As Single,
parameters As LightningBoltParameters
)
public:
void GenerateLightningBoltStandard(
LightningBolt^ bolt,
Vector3 start,
Vector3 end,
int generation,
int totalGenerations,
float offsetAmount,
LightningBoltParameters^ parameters
)
member GenerateLightningBoltStandard :
bolt : LightningBolt *
start : Vector3 *
end : Vector3 *
generation : int *
totalGenerations : int *
offsetAmount : float32 *
parameters : LightningBoltParameters -> unit
Parameters
- bolt
- Type: DigitalRuby.ThunderAndLightningLightningBolt
Lightning bolt - start
- Type: Vector3
Start position - end
- Type: Vector3
End position - generation
- Type: SystemInt32
Generation - totalGenerations
- Type: SystemInt32
Max generation - offsetAmount
- Type: SystemSingle
Offset amount for variance - parameters
- Type: DigitalRuby.ThunderAndLightningLightningBoltParameters
Parameters
See Also