C# Class JitterDemo.JitterDemo

Inheritance: Microsoft.Xna.Framework.Game
Exibir arquivo Open project: tpb3d/TPB3D Class Usage Examples

Public Methods

Method Description
JitterDemo ( ) : System

Protected Methods

Method Description
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
Update ( GameTime gameTime ) : void

Private Methods

Method Description
AddBodyToDrawList ( RigidBody rb ) : void
AddShapeToDrawList ( Shape shape, Jitter.LinearMath.JMatrix ori, Jitter.LinearMath.JVector pos ) : void
DrawCloth ( ) : void
DrawDynamicTree ( SoftBody cloth ) : void
DrawIslands ( ) : void
DrawJitterDebugInfo ( ) : void
RayTo ( int x, int y ) : Vector3
RaycastCallback ( RigidBody body, Jitter.LinearMath.JVector normal, float fraction ) : bool
RemoveComponents ( ) : void
SpawnRandomPrimitive ( Jitter.LinearMath.JVector position, Jitter.LinearMath.JVector velocity ) : void
UpdateDisplayText ( GameTime time ) : void
Walk ( DynamicTree tree, int index ) : void

Method Details

Draw() protected method

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Initialize() protected method

protected Initialize ( ) : void
return void

JitterDemo() public method

public JitterDemo ( ) : System
return System

Update() protected method

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void