C# Class PersistentKSPShurikenEmitter, SmokeScreen

Mostrar archivo Open project: sarbian/SmokeScreen Class Usage Examples

Public Properties

Property Type Description
clampXYstart bool
collide bool
collideRatio float
color Color
dragCoefficient double
endTime float
fixedEmit bool
force Vector3
forceBase Vector3
go GameObject
initialDensity double
linearGrow float
localVelocity Vector3
localVelocityBase Vector3
logarithmicGrow float
logarithmicGrowScale float
maxEmission float
maxEmissionBase float
maxEnergy float
maxEnergyBase float
maxSize float
maxSizeBase float
minEmission float
minEmissionBase float
minEnergy float
minEnergyBase float
minSize float
minSizeBase float
particleFraction double
pe ParticleSystem
physical bool
pr UnityEngine.ParticleSystemRenderer
randConeEmit float
randomInitalVelocityOffsetMaxRadius float
rndForce Vector3
scale1DBase float
scale2DBase Vector2
scale3DBase Vector3
shape KSPParticleEmitter.EmissionShape
shape1D float
shape2D Vector2
shape3D Vector3
sizeClamp float
sizeGrow float
stickiness double
vPosOffset float
vRandPosOffset float
worldVelocity Vector3
worldVelocityBase Vector3
xyForce float
zForce float

Public Methods

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

Private Methods

Method Description
Emit ( ) : void
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

PersistentKSPShurikenEmitter() public method

public PersistentKSPShurikenEmitter ( GameObject go, ParticleSystem pe, ParticleSystemRenderer pr, KSPParticleEmitter templateKspParticleEmitter ) : System
go GameObject
pe ParticleSystem
pr UnityEngine.ParticleSystemRenderer
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

color public_oe property

public Color color
return Color

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

force public_oe property

public Vector3 force
return Vector3

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

localVelocity public_oe property

public Vector3 localVelocity
return Vector3

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

maxEmission public_oe property

public float maxEmission
return float

maxEmissionBase public_oe property

public float maxEmissionBase
return float

maxEnergy public_oe property

public float maxEnergy
return float

maxEnergyBase public_oe property

public float maxEnergyBase
return float

maxSize public_oe property

public float maxSize
return float

maxSizeBase public_oe property

public float maxSizeBase
return float

minEmission public_oe property

public float minEmission
return float

minEmissionBase public_oe property

public float minEmissionBase
return float

minEnergy public_oe property

public float minEnergy
return float

minEnergyBase public_oe property

public float minEnergyBase
return float

minSize public_oe property

public float minSize
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 ParticleSystem pe
return ParticleSystem

physical public_oe property

public bool physical
return bool

pr public_oe property

public ParticleSystemRenderer,UnityEngine pr
return UnityEngine.ParticleSystemRenderer

randConeEmit public_oe property

public float randConeEmit
return float

randomInitalVelocityOffsetMaxRadius public_oe property

public float randomInitalVelocityOffsetMaxRadius
return float

rndForce public_oe property

public Vector3 rndForce
return Vector3

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

shape public_oe property

public KSPParticleEmitter.EmissionShape shape
return KSPParticleEmitter.EmissionShape

shape1D public_oe property

public float shape1D
return float

shape2D public_oe property

public Vector2 shape2D
return Vector2

shape3D public_oe property

public Vector3 shape3D
return Vector3

sizeClamp public_oe property

public float sizeClamp
return float

sizeGrow public_oe property

public float sizeGrow
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

worldVelocity public_oe property

public Vector3 worldVelocity
return Vector3

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