C# Class BEPUphysics.EntityStateManagement.EntityStateWriteBuffer

Buffer containing pending writes to entity states.
Inheritance: ProcessingStage
Exibir arquivo Open project: Indiefreaks/igf Class Usage Examples

Public Methods

Method Description
EnqueueAngularVelocity ( Entity entity, Microsoft.Xna.Framework.Vector3 &newAngularVelocity ) : void

Enqueues a change to an entity's angular velocity.

EnqueueLinearVelocity ( Entity entity, Microsoft.Xna.Framework.Vector3 &newLinearVelocity ) : void

Enqueues a change to an entity's linear velocity.

EnqueueOrientation ( Entity entity, Microsoft.Xna.Framework.Quaternion &newOrientationQuaternion ) : void

Enqueues a change to an entity's orientation.

EnqueuePosition ( Entity entity, Microsoft.Xna.Framework.Vector3 &newPosition ) : void

Enqueues a change to an entity's position.

EntityStateWriteBuffer ( ) : System.Runtime.InteropServices

Constructs the write buffer.

Protected Methods

Method Description
UpdateStage ( ) : void

Method Details

EnqueueAngularVelocity() public method

Enqueues a change to an entity's angular velocity.
public EnqueueAngularVelocity ( Entity entity, Microsoft.Xna.Framework.Vector3 &newAngularVelocity ) : void
entity BEPUphysics.Entities.Entity Entity to target.
newAngularVelocity Microsoft.Xna.Framework.Vector3 New angular velocity of the entity.
return void

EnqueueLinearVelocity() public method

Enqueues a change to an entity's linear velocity.
public EnqueueLinearVelocity ( Entity entity, Microsoft.Xna.Framework.Vector3 &newLinearVelocity ) : void
entity BEPUphysics.Entities.Entity Entity to target.
newLinearVelocity Microsoft.Xna.Framework.Vector3 New linear velocity of the entity.
return void

EnqueueOrientation() public method

Enqueues a change to an entity's orientation.
public EnqueueOrientation ( Entity entity, Microsoft.Xna.Framework.Quaternion &newOrientationQuaternion ) : void
entity BEPUphysics.Entities.Entity Entity to target.
newOrientationQuaternion Microsoft.Xna.Framework.Quaternion New orientation of the entity.
return void

EnqueuePosition() public method

Enqueues a change to an entity's position.
public EnqueuePosition ( Entity entity, Microsoft.Xna.Framework.Vector3 &newPosition ) : void
entity BEPUphysics.Entities.Entity Entity to target.
newPosition Microsoft.Xna.Framework.Vector3 New position of the entity.
return void

EntityStateWriteBuffer() public method

Constructs the write buffer.
public EntityStateWriteBuffer ( ) : System.Runtime.InteropServices
return System.Runtime.InteropServices

UpdateStage() protected method

protected UpdateStage ( ) : void
return void