C# Class TechfairKinect.Components.Particles.CircularParticleComponent

Inheritance: ParticleComponent
ファイルを表示 Open project: techx/old-techfair-kinect-booth

Public Methods

Method Description
CircularParticleComponent ( Size screenBounds ) : System
ExplodeIn ( System.Action onCompleted ) : void
ExplodeOut ( System.Action onCompleted ) : void
ResetSkeleton ( ) : void
UpdatePhysics ( double timeStep ) : void
UpdateSkeleton ( ScaledJoint>.Dictionary scaledSkeleton ) : void

Private Methods

Method Description
ActivateLayer ( Vector3D center, double layerRadius, int leftStart, int leftEnd, int rightStart, int rightEnd, double timeStep ) : void
CalculatePosition ( Vector3D center, double radius, double angle ) : Vector3D
CheckExplodingInCompleted ( ) : void
CheckExplodingOutCompleted ( ) : void
ResetParticles ( ) : void
ScaleCenter ( Vector3D center ) : Vector3D
UpdateParticle ( Particle particle, Vector3D center, double timeStep ) : void
UpdateParticleCenters ( double timeStep ) : void
UpdateParticlesByLayer ( int startIndex, int endIndex, Vector3D center, double timeStep ) : void

Method Details

CircularParticleComponent() public method

public CircularParticleComponent ( Size screenBounds ) : System
screenBounds System.Drawing.Size
return System

ExplodeIn() public method

public ExplodeIn ( System.Action onCompleted ) : void
onCompleted System.Action
return void

ExplodeOut() public method

public ExplodeOut ( System.Action onCompleted ) : void
onCompleted System.Action
return void

ResetSkeleton() public method

public ResetSkeleton ( ) : void
return void

UpdatePhysics() public method

public UpdatePhysics ( double timeStep ) : void
timeStep double
return void

UpdateSkeleton() public method

public UpdateSkeleton ( ScaledJoint>.Dictionary scaledSkeleton ) : void
scaledSkeleton ScaledJoint>.Dictionary
return void