#include <Opcode.h>
Definition at line 38 of file Opcode.h.
◆ Collider()
◆ ~Collider()
◆ ContactFound()
Checks a first contact has already been found.
- Returns
- true if a first contact has been found and we can stop a query
Definition at line 77 of file Opcode.h.
◆ FirstContactEnabled()
inline_ BOOL Opcode::Collider::FirstContactEnabled |
( |
| ) |
const |
|
inline |
Gets the "first contact" mode.
- Returns
- true if "first contact" mode is on
Definition at line 61 of file Opcode.h.
◆ GetContactStatus()
inline_ BOOL Opcode::Collider::GetContactStatus |
( |
| ) |
const |
|
inline |
Gets the last collision status after a collision query.
- Returns
- true if a collision occured
Definition at line 53 of file Opcode.h.
◆ InitQuery()
Initializes a query
Definition at line 174 of file Opcode.h.
◆ SetFirstContact()
inline_ void Opcode::Collider::SetFirstContact |
( |
bool |
flag | ) |
|
|
inline |
◆ SetPrimitiveTests()
inline_ void Opcode::Collider::SetPrimitiveTests |
( |
bool |
flag | ) |
|
|
inline |
Enable/disable primitive tests.
- Parameters
-
flag | [in] true to enable primitive tests, false to discard them |
Definition at line 131 of file Opcode.h.
◆ SetTemporalCoherence()
inline_ void Opcode::Collider::SetTemporalCoherence |
( |
bool |
flag | ) |
|
|
inline |
◆ Setup()
Setups current collision model
- Parameters
-
model | [in] current collision model |
- Returns
- TRUE if success
Definition at line 159 of file Opcode.h.
◆ SkipPrimitiveTests()
inline_ BOOL Opcode::Collider::SkipPrimitiveTests |
( |
| ) |
const |
|
inline |
Checks primitive tests are enabled;
- Returns
- true if primitive tests must be skipped
Definition at line 93 of file Opcode.h.
◆ TemporalCoherenceEnabled()
inline_ BOOL Opcode::Collider::TemporalCoherenceEnabled |
( |
| ) |
const |
|
inline |
Gets the temporal coherence mode.
- Returns
- true if temporal coherence is on
Definition at line 69 of file Opcode.h.
◆ TemporalHit()
Checks there's been an early exit due to temporal coherence;
- Returns
- true if a temporal hit has occured
Definition at line 85 of file Opcode.h.
◆ ValidateSettings()
virtual const char* Opcode::Collider::ValidateSettings |
( |
| ) |
|
|
pure virtual |
Validates current settings. You should call this method after all the settings / callbacks have been defined for a collider.
- Returns
- null if everything is ok, else a string describing the problem
◆ mCurrentModel
Current model for collision query (owner of touched faces)
Definition at line 147 of file Opcode.h.
◆ mFlags
udword Opcode::Collider::mFlags |
|
protected |
◆ mIMesh
User-defined mesh interface.
Definition at line 149 of file Opcode.h.
The documentation for this class was generated from the following files: