Skip to content

raisin::tcp_viewer::InstancedEntry ​

struct · #include <rayrai/TcpRemoteSceneState.hpp>

State associated with a remote instanced visual set.

Public attributes ​

shape ​

cpp
raisim::Shape::Type shape

Instance geometry type.

name ​

cpp
std::string name

Name registered with the viewer.

baseSize ​

cpp
glm::vec3 baseSize

Base size passed to InstancedVisuals.

visuals ​

cpp
std::shared_ptr<raisin::InstancedVisuals> visuals

Null for unsupported instanced shapes.

lastColor1 ​

cpp
glm::vec4 lastColor1

First color of the instance color gradient.

lastColor2 ​

cpp
glm::vec4 lastColor2

Second color of the instance color gradient.

hasColors ​

cpp
bool hasColors

lastColor1 / lastColor2 have been received.

hasBounds ​

cpp
bool hasBounds

boundsMin / boundsMax are valid.

boundsMin ​

cpp
glm::vec3 boundsMin

World AABB minimum of all instances.

boundsMax ​

cpp
glm::vec3 boundsMax

World AABB maximum of all instances.

RaiSim — physics for robotics and AI.