C# Class Artemis.Engine.BodyConstructor

Afficher le fichier Open project: ArtemisEngine/Artemis-Engine

Méthodes publiques

Méthode Description
AllowsSleeping ( ) : BodyConstructor
AsBodyType ( BodyType type ) : BodyConstructor
AsBullet ( ) : BodyConstructor
AsDynamic ( ) : BodyConstructor
AsKinematic ( ) : BodyConstructor
AsSensor ( ) : BodyConstructor
AsSensor ( string fixtureName ) : BodyConstructor
AsStatic ( ) : BodyConstructor
BodyConstructor ( ) : System
BodyConstructor ( World world ) : System
CollidesWith ( Category category ) : BodyConstructor
CollidesWith ( string fixtureName, Category category ) : BodyConstructor
Construct ( ) : Body
HasFixedRotation ( ) : BodyConstructor
IgnoresCCD ( ) : BodyConstructor
IgnoresCCDWith ( Category category ) : BodyConstructor
IgnoresCCDWith ( string fixtureName, Category category ) : BodyConstructor
IgnoresGravity ( ) : BodyConstructor
InWorld ( World world ) : BodyConstructor
IsInitiallyAwake ( ) : BodyConstructor
IsInitiallyEnabled ( ) : BodyConstructor
WithAfterCollision ( AfterCollisionEventHandler handler ) : BodyConstructor
WithAfterCollision ( string fixtureName, AfterCollisionEventHandler handler ) : BodyConstructor
WithAngularDamping ( float damping ) : BodyConstructor
WithBeforeCollision ( BeforeCollisionEventHandler handler ) : BodyConstructor
WithBeforeCollision ( string fixtureName, BeforeCollisionEventHandler handler ) : BodyConstructor
WithCollisionCategories ( Category category ) : BodyConstructor
WithCollisionCategories ( string fixtureName, Category category ) : BodyConstructor
WithCollisionGroup ( short collisionGroup ) : BodyConstructor
WithCollisionGroup ( string fixtureName, short collisionGroup ) : BodyConstructor
WithFriction ( float friction ) : BodyConstructor
WithFriction ( string fixtureName, float friction ) : BodyConstructor
WithGravityScale ( float scale ) : BodyConstructor
WithInertia ( float inertia ) : BodyConstructor
WithInitialAngularVelocity ( float angularVelocity ) : BodyConstructor
WithInitialLinearVelocity ( Vector2 linearVelocity ) : BodyConstructor
WithIslandIndex ( int index ) : BodyConstructor
WithLinearDamping ( float linearDamping ) : BodyConstructor
WithLocalCenter ( Vector2 pos ) : BodyConstructor
WithMass ( float mass ) : BodyConstructor
WithOnCollision ( OnCollisionEventHandler handler ) : BodyConstructor
WithOnCollision ( string fixtureName, OnCollisionEventHandler handler ) : BodyConstructor
WithOnSeparation ( OnSeparationEventHandler handler ) : BodyConstructor
WithOnSeparation ( string fixtureName, OnSeparationEventHandler handler ) : BodyConstructor
WithPosition ( Vector2 position ) : BodyConstructor
WithRestitution ( float restitution ) : BodyConstructor
WithRestitution ( string fixtureName, float restitution ) : BodyConstructor
WithRotation ( float rotation ) : BodyConstructor
WithShape ( Shape shape ) : BodyConstructor
WithShape ( string fixtureName, Shape shape ) : BodyConstructor

Private Methods

Méthode Description
SetFixtureData ( Fixture fixture, FixtureData fixtureData ) : void

Method Details

AllowsSleeping() public méthode

public AllowsSleeping ( ) : BodyConstructor
Résultat BodyConstructor

AsBodyType() public méthode

public AsBodyType ( BodyType type ) : BodyConstructor
type BodyType
Résultat BodyConstructor

AsBullet() public méthode

public AsBullet ( ) : BodyConstructor
Résultat BodyConstructor

AsDynamic() public méthode

public AsDynamic ( ) : BodyConstructor
Résultat BodyConstructor

AsKinematic() public méthode

public AsKinematic ( ) : BodyConstructor
Résultat BodyConstructor

AsSensor() public méthode

public AsSensor ( ) : BodyConstructor
Résultat BodyConstructor

AsSensor() public méthode

public AsSensor ( string fixtureName ) : BodyConstructor
fixtureName string
Résultat BodyConstructor

AsStatic() public méthode

public AsStatic ( ) : BodyConstructor
Résultat BodyConstructor

BodyConstructor() public méthode

public BodyConstructor ( ) : System
Résultat System

BodyConstructor() public méthode

public BodyConstructor ( World world ) : System
world FarseerPhysics.Dynamics.World
Résultat System

CollidesWith() public méthode

public CollidesWith ( Category category ) : BodyConstructor
category Category
Résultat BodyConstructor

CollidesWith() public méthode

public CollidesWith ( string fixtureName, Category category ) : BodyConstructor
fixtureName string
category Category
Résultat BodyConstructor

Construct() public méthode

public Construct ( ) : Body
Résultat FarseerPhysics.Dynamics.Body

HasFixedRotation() public méthode

public HasFixedRotation ( ) : BodyConstructor
Résultat BodyConstructor

IgnoresCCD() public méthode

public IgnoresCCD ( ) : BodyConstructor
Résultat BodyConstructor

IgnoresCCDWith() public méthode

public IgnoresCCDWith ( Category category ) : BodyConstructor
category Category
Résultat BodyConstructor

IgnoresCCDWith() public méthode

public IgnoresCCDWith ( string fixtureName, Category category ) : BodyConstructor
fixtureName string
category Category
Résultat BodyConstructor

IgnoresGravity() public méthode

public IgnoresGravity ( ) : BodyConstructor
Résultat BodyConstructor

InWorld() public méthode

public InWorld ( World world ) : BodyConstructor
world FarseerPhysics.Dynamics.World
Résultat BodyConstructor

IsInitiallyAwake() public méthode

public IsInitiallyAwake ( ) : BodyConstructor
Résultat BodyConstructor

IsInitiallyEnabled() public méthode

public IsInitiallyEnabled ( ) : BodyConstructor
Résultat BodyConstructor

WithAfterCollision() public méthode

public WithAfterCollision ( AfterCollisionEventHandler handler ) : BodyConstructor
handler AfterCollisionEventHandler
Résultat BodyConstructor

WithAfterCollision() public méthode

public WithAfterCollision ( string fixtureName, AfterCollisionEventHandler handler ) : BodyConstructor
fixtureName string
handler AfterCollisionEventHandler
Résultat BodyConstructor

WithAngularDamping() public méthode

public WithAngularDamping ( float damping ) : BodyConstructor
damping float
Résultat BodyConstructor

WithBeforeCollision() public méthode

public WithBeforeCollision ( BeforeCollisionEventHandler handler ) : BodyConstructor
handler BeforeCollisionEventHandler
Résultat BodyConstructor

WithBeforeCollision() public méthode

public WithBeforeCollision ( string fixtureName, BeforeCollisionEventHandler handler ) : BodyConstructor
fixtureName string
handler BeforeCollisionEventHandler
Résultat BodyConstructor

WithCollisionCategories() public méthode

public WithCollisionCategories ( Category category ) : BodyConstructor
category Category
Résultat BodyConstructor

WithCollisionCategories() public méthode

public WithCollisionCategories ( string fixtureName, Category category ) : BodyConstructor
fixtureName string
category Category
Résultat BodyConstructor

WithCollisionGroup() public méthode

public WithCollisionGroup ( short collisionGroup ) : BodyConstructor
collisionGroup short
Résultat BodyConstructor

WithCollisionGroup() public méthode

public WithCollisionGroup ( string fixtureName, short collisionGroup ) : BodyConstructor
fixtureName string
collisionGroup short
Résultat BodyConstructor

WithFriction() public méthode

public WithFriction ( float friction ) : BodyConstructor
friction float
Résultat BodyConstructor

WithFriction() public méthode

public WithFriction ( string fixtureName, float friction ) : BodyConstructor
fixtureName string
friction float
Résultat BodyConstructor

WithGravityScale() public méthode

public WithGravityScale ( float scale ) : BodyConstructor
scale float
Résultat BodyConstructor

WithInertia() public méthode

public WithInertia ( float inertia ) : BodyConstructor
inertia float
Résultat BodyConstructor

WithInitialAngularVelocity() public méthode

public WithInitialAngularVelocity ( float angularVelocity ) : BodyConstructor
angularVelocity float
Résultat BodyConstructor

WithInitialLinearVelocity() public méthode

public WithInitialLinearVelocity ( Vector2 linearVelocity ) : BodyConstructor
linearVelocity Vector2
Résultat BodyConstructor

WithIslandIndex() public méthode

public WithIslandIndex ( int index ) : BodyConstructor
index int
Résultat BodyConstructor

WithLinearDamping() public méthode

public WithLinearDamping ( float linearDamping ) : BodyConstructor
linearDamping float
Résultat BodyConstructor

WithLocalCenter() public méthode

public WithLocalCenter ( Vector2 pos ) : BodyConstructor
pos Vector2
Résultat BodyConstructor

WithMass() public méthode

public WithMass ( float mass ) : BodyConstructor
mass float
Résultat BodyConstructor

WithOnCollision() public méthode

public WithOnCollision ( OnCollisionEventHandler handler ) : BodyConstructor
handler OnCollisionEventHandler
Résultat BodyConstructor

WithOnCollision() public méthode

public WithOnCollision ( string fixtureName, OnCollisionEventHandler handler ) : BodyConstructor
fixtureName string
handler OnCollisionEventHandler
Résultat BodyConstructor

WithOnSeparation() public méthode

public WithOnSeparation ( OnSeparationEventHandler handler ) : BodyConstructor
handler OnSeparationEventHandler
Résultat BodyConstructor

WithOnSeparation() public méthode

public WithOnSeparation ( string fixtureName, OnSeparationEventHandler handler ) : BodyConstructor
fixtureName string
handler OnSeparationEventHandler
Résultat BodyConstructor

WithPosition() public méthode

public WithPosition ( Vector2 position ) : BodyConstructor
position Vector2
Résultat BodyConstructor

WithRestitution() public méthode

public WithRestitution ( float restitution ) : BodyConstructor
restitution float
Résultat BodyConstructor

WithRestitution() public méthode

public WithRestitution ( string fixtureName, float restitution ) : BodyConstructor
fixtureName string
restitution float
Résultat BodyConstructor

WithRotation() public méthode

public WithRotation ( float rotation ) : BodyConstructor
rotation float
Résultat BodyConstructor

WithShape() public méthode

public WithShape ( Shape shape ) : BodyConstructor
shape FarseerPhysics.Collision.Shapes.Shape
Résultat BodyConstructor

WithShape() public méthode

public WithShape ( string fixtureName, Shape shape ) : BodyConstructor
fixtureName string
shape FarseerPhysics.Collision.Shapes.Shape
Résultat BodyConstructor