Skip to content

raisin::TransparentDrawItem ​

struct · #include <rayrai/RenderDiagnostics.hpp>

One transparent draw in a TransparentDrawDebugView.

Public attributes ​

source ​

cpp
std::string source

"world" (RaiSim object), "visual" or "instanced_visual".

name ​

cpp
std::string name

Visual name, or a generated name for world objects.

center ​

cpp
glm::vec3 center

Sort center, world space.

radius ​

cpp
float radius

Approximate bounding radius, metres.

distanceSquared ​

cpp
float distanceSquared

Squared camera distance used for sorting, m^2.

sortOffset ​

cpp
float sortOffset

Per-visual sort bias.

renderPriority ​

cpp
int renderPriority

Render priority of the source.

detectable ​

cpp
bool detectable

True when the item is included by detectable-only visualization passes.

sortUsesBoundsCenter ​

cpp
bool sortUsesBoundsCenter

The sort center is the bounds center rather than the origin.

RaiSim — physics for robotics and AI.