Click or drag to resize

LightningBoltSegmentGroup Class

A group of lightning bolt segments, such as the main trunk of the lightning bolt
Inheritance Hierarchy
SystemObject
  DigitalRuby.ThunderAndLightningLightningBoltSegmentGroup

Namespace:  DigitalRuby.ThunderAndLightning
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public class LightningBoltSegmentGroup

The LightningBoltSegmentGroup type exposes the following members.

Constructors
  NameDescription
Public methodLightningBoltSegmentGroup
Initializes a new instance of the LightningBoltSegmentGroup class
Top
Properties
  NameDescription
Public propertySegmentCount
Total number of active segments
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReset
Return the group to its cache if there is one
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldColor
Color for the group
Public fieldDelay
Delay before rendering should start
Public fieldEndWidthMultiplier
The width can be scaled down to the last segment by this amount if desired
Public fieldGeneration
Generation
Public fieldLifeTime
Total life time the group will be alive in seconds
Public fieldLightParameters
Light parameters
Public fieldLights
Lights
Public fieldLineWidth
Width
Public fieldPeakEnd
Peak end, the segments should start to go away after this point
Public fieldPeakStart
Peak start, the segments should be fully visible at this point
Public fieldSegments
Segments
Public fieldStartIndex
Start index of the segment to render (for performance, some segments are not rendered and only used for calculations)
Top
See Also