Contact information for a surface. More...
#include <Surface.hh>
Public Member Functions | |
Contact () | |
Default constructor. | |
uint16_t | CollideBitmask () const |
Get the collide bitmask parameter. | |
sdf::ElementPtr | Element () const |
Get a pointer to the SDF element that was used during load. | |
Errors | Load (ElementPtr _sdf) |
Load the contact based on a element pointer. | |
void | SetCollideBitmask (const uint16_t _bitmask) |
Set the collide bitmask parameter. | |
Contact information for a surface.
sdf::SDF_VERSION_NAMESPACE::Contact::Contact | ( | ) |
Default constructor.
uint16_t sdf::SDF_VERSION_NAMESPACE::Contact::CollideBitmask | ( | ) | const |
Get the collide bitmask parameter.
sdf::ElementPtr sdf::SDF_VERSION_NAMESPACE::Contact::Element | ( | ) | const |
Errors sdf::SDF_VERSION_NAMESPACE::Contact::Load | ( | ElementPtr | _sdf | ) |
void sdf::SDF_VERSION_NAMESPACE::Contact::SetCollideBitmask | ( | const uint16_t | _bitmask | ) |
Set the collide bitmask parameter.