52 RtInstanceDataObserver data{
nullptr };
58 return handle !=
nullptr &&
The agxSensor namespace contains components to model real-time sensors connected to the physics of AG...
std::shared_ptr< RtShape > RtShapeRef
RtShapeRef RtShapeHandleRef
std::shared_ptr< RtShapeInstanceHandle > RtShapeInstanceHandleRef
std::shared_ptr< RtScene > RtSceneRef
Raytrace shape instance data with a handle to the dito on the GPU, data and shape (ref-counting so th...
RtShapeInstanceHandleRef handle
void setTransform(const agx::AffineMatrix4x4 &agxTransform, agx::Vec3 scale=agx::Vec3(1))
Set/update transform and/or scale of this shape instance in the raytrace environment.
static RtShapeInstance create(RtSceneRef scene, RtShapeRef shape, RtInstanceData *data)
Create given scene and shape.