Tramway SDK
|
Classes | |
struct | AABBLeaf |
struct | QueryResponse |
Enumerations | |
enum | ReferenceType : uint32_t { REFERENCE_RENDERCOMPONENT = 1 } |
Functions | |
aabbleaf_t | InsertLeaf (RenderComponent *component, vec3 position, quat rotation, vec3 scale) |
Inserts a RenderComponent leaf into the scene tree. More... | |
void | RemoveLeaf (aabbleaf_t leaf_id) |
Removes a leaf from. More... | |
QueryResponse | FindNearestFromRay (vec3 ray_pos, vec3 ray_dir, uint32_t mask) |
Peforms a raycast and retrieves the nearest object. More... | |
void | DebugDrawTree () |
Draws the scene tree for a single frame. More... | |
enum tram::Render::AABB::ReferenceType : uint32_t |
void tram::Render::AABB::DebugDrawTree | ( | ) |
Draws the scene tree for a single frame.
QueryResponse tram::Render::AABB::FindNearestFromRay | ( | vec3 | ray_pos, |
vec3 | ray_dir, | ||
uint32_t | mask | ||
) |
Peforms a raycast and retrieves the nearest object.
aabbleaf_t tram::Render::AABB::InsertLeaf | ( | RenderComponent * | component, |
vec3 | position, | ||
quat | rotation, | ||
vec3 | scale | ||
) |
Inserts a RenderComponent leaf into the scene tree.
void tram::Render::AABB::RemoveLeaf | ( | aabbleaf_t | leaf_id | ) |
Removes a leaf from.