Logo
Public Member Functions | Public Attributes | List of all members
SharpKmyPhysics.PhysicsNode Class Reference
Inheritance diagram for SharpKmyPhysics.PhysicsNode:
SharpKmyPhysics.Collider SharpKmyPhysics.RigidBody

Public Member Functions

 PhysicsNode (IntPtr ptr)
 
void setRestitution (float val)
 
void setFriction (float val)
 
void setName (string name)
 
string getName ()
 
void setWorldMatrix (SharpKmyMath.Matrix4 mtx)
 
SharpKmyMath.Matrix4 getWorldMatrix ()
 
void setNotifyTarget (PhysicsNotifyTarget tgt)
 
void setFellowId (int id)
 
void setIgnoreFromRaycast (bool f)
 
void setFilterMask (UInt16 m)
 
PhysicsNotifyTarget getNotifyTarget ()
 
PhysicsBase getPhysicsBase ()
 
void enable ()
 
void disable ()
 
bool isEnabled ()
 
void setCustomDebugColor (float r, float g, float b)
 
void setDebugVisibilityMask (UInt32 mask)
 

Public Attributes

IntPtr obj = IntPtr.Zero
 
PhysicsNotifyTarget currentTarget
 

Constructor & Destructor Documentation

◆ PhysicsNode()

SharpKmyPhysics.PhysicsNode.PhysicsNode ( IntPtr  ptr)

Member Function Documentation

◆ disable()

void SharpKmyPhysics.PhysicsNode.disable ( )

◆ enable()

void SharpKmyPhysics.PhysicsNode.enable ( )

◆ getName()

string SharpKmyPhysics.PhysicsNode.getName ( )

◆ getNotifyTarget()

PhysicsNotifyTarget SharpKmyPhysics.PhysicsNode.getNotifyTarget ( )

◆ getPhysicsBase()

PhysicsBase SharpKmyPhysics.PhysicsNode.getPhysicsBase ( )

◆ getWorldMatrix()

SharpKmyMath.Matrix4 SharpKmyPhysics.PhysicsNode.getWorldMatrix ( )

◆ isEnabled()

bool SharpKmyPhysics.PhysicsNode.isEnabled ( )

◆ setCustomDebugColor()

void SharpKmyPhysics.PhysicsNode.setCustomDebugColor ( float  r,
float  g,
float  b 
)

◆ setDebugVisibilityMask()

void SharpKmyPhysics.PhysicsNode.setDebugVisibilityMask ( UInt32  mask)

◆ setFellowId()

void SharpKmyPhysics.PhysicsNode.setFellowId ( int  id)

◆ setFilterMask()

void SharpKmyPhysics.PhysicsNode.setFilterMask ( UInt16  m)

◆ setFriction()

void SharpKmyPhysics.PhysicsNode.setFriction ( float  val)

◆ setIgnoreFromRaycast()

void SharpKmyPhysics.PhysicsNode.setIgnoreFromRaycast ( bool  f)

◆ setName()

void SharpKmyPhysics.PhysicsNode.setName ( string  name)

◆ setNotifyTarget()

void SharpKmyPhysics.PhysicsNode.setNotifyTarget ( PhysicsNotifyTarget  tgt)

◆ setRestitution()

void SharpKmyPhysics.PhysicsNode.setRestitution ( float  val)

◆ setWorldMatrix()

void SharpKmyPhysics.PhysicsNode.setWorldMatrix ( SharpKmyMath.Matrix4  mtx)

Member Data Documentation

◆ currentTarget

PhysicsNotifyTarget SharpKmyPhysics.PhysicsNode.currentTarget

◆ obj

IntPtr SharpKmyPhysics.PhysicsNode.obj = IntPtr.Zero