raisin::RayraiWindow::TransparentDrawItem
struct · #include <rayrai/RayraiWindow.hpp>
One transparent draw in TransparentDrawDebugView::backToFrontOrder.
Public attributes
source
cpp
std::string sourceworld, visual or instanced_visual.
name
cpp
std::string nameVisual name, or world_object_<n> for raisim objects.
center
cpp
glm::vec3 centerWorld-space sort center.
radius
cpp
float radiusApproximate bounding radius in metres.
distanceSquared
cpp
float distanceSquaredSquared distance from the camera to the sort point.
sortOffset
cpp
float sortOffsetPer-visual transparent sort offset.
renderPriority
cpp
int renderPriorityRender priority of the source.
detectable
cpp
bool detectableTrue when the source is marked detectable.
sortUsesBoundsCenter
cpp
bool sortUsesBoundsCenterTrue when sorting uses the bounds center rather than the origin.