Logo
Public Member Functions | List of all members
SharpKmyPhysics::Collider Class Reference

#include <Collider.h>

Inheritance diagram for SharpKmyPhysics::Collider:
SharpKmyPhysics::PhysicsNode

Public Member Functions

 Collider (kmyPhysics::Collider *p)
 
void setAsTrigger (bool flg)
 
void setCustomDebugColor (float r, float g, float b)
 
void setDebugVisibilityMask (u32 mask)
 
- Public Member Functions inherited from SharpKmyPhysics::PhysicsNode
void setRestitution (f32 val)
 
void setFriction (f32 val)
 
void setName (System::String^ name)
 
void setWorldMatrix (SharpKmyMath::Matrix4 mtx)
 
void setNotifyTarget (PhysicsNotifyTarget ^tgt)
 
void setFellowId (int id)
 
void setFilterMask (unsigned short m)
 
void setFilterGroup (unsigned short m)
 
void setIgnoreFromRaycast (bool f)
 
void enable ()
 
void disable ()
 
bool isEnabled ()
 
PhysicsNotifyTarget getNotifyTarget ()
 
System::String getName ()
 
SharpKmyMath::Matrix4 getWorldMatrix ()
 
PhysicsBase getPhysicsBase ()
 

Additional Inherited Members

- Public Attributes inherited from SharpKmyPhysics::PhysicsNode
kmyPhysics::PhysicsNode * obj = nullptr
 

Constructor & Destructor Documentation

◆ Collider()

SharpKmyPhysics::Collider::Collider ( kmyPhysics::Collider *  p)

Member Function Documentation

◆ setAsTrigger()

void SharpKmyPhysics::Collider::setAsTrigger ( bool  flg)

◆ setCustomDebugColor()

void SharpKmyPhysics::Collider::setCustomDebugColor ( float  r,
float  g,
float  b 
)

◆ setDebugVisibilityMask()

void SharpKmyPhysics::Collider::setDebugVisibilityMask ( u32  mask)