Gorilla.Particle.Rain
Unit Gorilla.Particle.Rain.pasClasses
- TGorillaRainParticleEmitter = class ( TGorillaParticleEmitter )
TGorillaRainParticleEmitter
Particle emitter for simple rain effects, where raindrops will fall from top to bottom. The component automatically creates a wind and color influencer.
Ancestors
Members
Fields
- protected FWind :
TGorillaWindParticleInfluencer
- protected FColored :
TGorillaColoredParticleInfluencer
- protected FSplashes :
TGorillaSpotParticleEmitter
Methods
- public constructor Create ( AOwner : TComponent ) ;
- public destructor Destroy ( ) ;
- protected procedure SetCamera ( const AValue : TCamera ) ; override;
- protected function GetParticleMaterial ( ) : TGorillaParticleMaterialSource ;
- protected procedure Resize3D ( ) ; override;
- public procedure Start ( ) ; override;
- public procedure Stop ( ) ; override;
- public procedure LoadTexture
(
const
AFilename :
string
)
;
virtual;
Load a raindrop texture to the attached particle material source. This is just a helper function. If no particle material source is assigned, the method will ignore the texture.