C# Class PersistentKSPParticleEmitter, SmokeScreen

Mostrar archivo Open project: sarbian/SmokeScreen Class Usage Examples

Public Properties

Property Type Description
clampXYstart bool
collide bool
collideRatio float
dragCoefficient double
endTime float
fixedEmit bool
forceBase Vector3
go GameObject
initialDensity double
linearGrow float
localVelocityBase Vector3
logarithmicGrow float
logarithmicGrowScale float
maxEmissionBase float
maxEnergyBase float
maxSizeBase float
minEmissionBase float
minEnergyBase float
minSizeBase float
particleFraction double
pe KSPParticleEmitter
physical bool
randConeEmit float
randomInitalVelocityOffsetMaxRadius float
scale1DBase float
scale2DBase Vector2
scale3DBase Vector3
sizeClamp float
stickiness double
vPosOffset float
vRandPosOffset float
worldVelocityBase Vector3
xyForce float
zForce float

Public Methods

Method Description
Detach ( float timer ) : void
EmissionStop ( ) : void
EmitterOnUpdate ( Vector3 emitterWorldVelocity ) : void
PersistentKSPParticleEmitter ( GameObject go, KSPParticleEmitter pe, KSPParticleEmitter templateKspParticleEmitter ) : System

Private Methods

Method Description
ParticleCollision ( Vector3d pPos, Vector3d pVel, int mask ) : Vector3
ParticlePhysics ( double radius, double initialRadius, Vector3d pPos, Vector3d pVel ) : Vector3
Print ( string s ) : void
RandomConeVector ( float angle ) : Vector3

Method Details

Detach() public method

public Detach ( float timer ) : void
timer float
return void

EmissionStop() public method

public EmissionStop ( ) : void
return void

EmitterOnUpdate() public method

public EmitterOnUpdate ( Vector3 emitterWorldVelocity ) : void
emitterWorldVelocity Vector3
return void

PersistentKSPParticleEmitter() public method

public PersistentKSPParticleEmitter ( GameObject go, KSPParticleEmitter pe, KSPParticleEmitter templateKspParticleEmitter ) : System
go GameObject
pe KSPParticleEmitter
templateKspParticleEmitter KSPParticleEmitter
return System

Property Details

clampXYstart public_oe property

public bool clampXYstart
return bool

collide public_oe property

public bool collide
return bool

collideRatio public_oe property

public float collideRatio
return float

dragCoefficient public_oe property

public double dragCoefficient
return double

endTime public_oe property

public float endTime
return float

fixedEmit public_oe property

public bool fixedEmit
return bool

forceBase public_oe property

public Vector3 forceBase
return Vector3

go public_oe property

public GameObject go
return GameObject

initialDensity public_oe property

public double initialDensity
return double

linearGrow public_oe property

public float linearGrow
return float

localVelocityBase public_oe property

public Vector3 localVelocityBase
return Vector3

logarithmicGrow public_oe property

public float logarithmicGrow
return float

logarithmicGrowScale public_oe property

public float logarithmicGrowScale
return float

maxEmissionBase public_oe property

public float maxEmissionBase
return float

maxEnergyBase public_oe property

public float maxEnergyBase
return float

maxSizeBase public_oe property

public float maxSizeBase
return float

minEmissionBase public_oe property

public float minEmissionBase
return float

minEnergyBase public_oe property

public float minEnergyBase
return float

minSizeBase public_oe property

public float minSizeBase
return float

particleFraction public_oe property

public double particleFraction
return double

pe public_oe property

public KSPParticleEmitter pe
return KSPParticleEmitter

physical public_oe property

public bool physical
return bool

randConeEmit public_oe property

public float randConeEmit
return float

randomInitalVelocityOffsetMaxRadius public_oe property

public float randomInitalVelocityOffsetMaxRadius
return float

scale1DBase public_oe property

public float scale1DBase
return float

scale2DBase public_oe property

public Vector2 scale2DBase
return Vector2

scale3DBase public_oe property

public Vector3 scale3DBase
return Vector3

sizeClamp public_oe property

public float sizeClamp
return float

stickiness public_oe property

public double stickiness
return double

vPosOffset public_oe property

public float vPosOffset
return float

vRandPosOffset public_oe property

public float vRandPosOffset
return float

worldVelocityBase public_oe property

public Vector3 worldVelocityBase
return Vector3

xyForce public_oe property

public float xyForce
return float

zForce public_oe property

public float zForce
return float