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 nameVisual name, or a generated name for world objects.
center
cpp
glm::vec3 centerSort center, world space.
radius
cpp
float radiusApproximate bounding radius, metres.
distanceSquared
cpp
float distanceSquaredSquared camera distance used for sorting, m^2.
sortOffset
cpp
float sortOffsetPer-visual sort bias.
renderPriority
cpp
int renderPriorityRender priority of the source.
detectable
cpp
bool detectableTrue when the item is included by detectable-only visualization passes.
sortUsesBoundsCenter
cpp
bool sortUsesBoundsCenterThe sort center is the bounds center rather than the origin.