Namespace: DeltaEngine.Physics2DAssembly: DeltaEngine.Physics2D (in DeltaEngine.Physics2D.dll) Version: 1.1.1.0 (1.1.1)
public static void AffixToPhysics(
this Entity2D entity,
PhysicsBody body
)
public static void AffixToPhysics(
this Entity2D entity,
PhysicsBody body
)
<ExtensionAttribute>
Public Shared Sub AffixToPhysics (
entity As Entity2D,
body As PhysicsBody
)
<ExtensionAttribute>
Public Shared Sub AffixToPhysics (
entity As Entity2D,
body As PhysicsBody
)
public:
[ExtensionAttribute]
static void AffixToPhysics(
Entity2D^ entity,
PhysicsBody^ body
)
public:
[ExtensionAttribute]
static void AffixToPhysics(
Entity2D^ entity,
PhysicsBody^ body
)
static member AffixToPhysics :
entity : Entity2D *
body : PhysicsBody -> unit
static member AffixToPhysics :
entity : Entity2D *
body : PhysicsBody -> unit
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Entity2D. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).