Blender V5.0
blender::io::hydra::WorldData Class Reference

#include <world.hh>

Inherits blender::io::hydra::LightData.

Public Member Functions

 WorldData (HydraSceneDelegate *scene_delegate, pxr::SdfPath const &prim_id)
void init () override
void update () override
Public Member Functions inherited from blender::io::hydra::LightData
 LightData (HydraSceneDelegate *scene_delegate, const Object *object, pxr::SdfPath const &prim_id)
void insert () override
void remove () override
pxr::VtValue get_data (pxr::TfToken const &key) const override
Public Member Functions inherited from blender::io::hydra::ObjectData
 ObjectData (HydraSceneDelegate *scene_delegate, const Object *object, pxr::SdfPath const &prim_id)
virtual pxr::VtValue get_data (pxr::SdfPath const &id, pxr::TfToken const &key) const
virtual pxr::SdfPath material_id () const
virtual pxr::SdfPath material_id (pxr::SdfPath const &id) const
virtual void available_materials (Set< pxr::SdfPath > &paths) const
virtual pxr::VtValue get_data (pxr::TfToken const &key) const=0
Public Member Functions inherited from blender::io::hydra::IdData
 IdData (HydraSceneDelegate *scene_delegate, const ID *id, pxr::SdfPath const &prim_id)
virtual ~IdData ()=default

Additional Inherited Members

Static Public Member Functions inherited from blender::io::hydra::ObjectData
static std::unique_ptr< ObjectDatacreate (HydraSceneDelegate *scene_delegate, const Object *object, pxr::SdfPath const &prim_id)
static bool is_supported (const Object *object)
static bool is_mesh (const Object *object)
static bool is_visible (HydraSceneDelegate *scene_delegate, const Object *object, int mode=OB_VISIBLE_SELF)
Public Attributes inherited from blender::io::hydra::ObjectData
pxr::GfMatrix4d transform
bool visible = true
Public Attributes inherited from blender::io::hydra::IdData
const IDid
pxr::SdfPath prim_id
Protected Member Functions inherited from blender::io::hydra::LightData
pxr::TfToken prim_type (const Light *light)
Protected Member Functions inherited from blender::io::hydra::ObjectData
virtual void write_transform ()
virtual void write_materials ()
MaterialDataget_or_create_material (const Material *mat)
Protected Attributes inherited from blender::io::hydra::LightData
std::map< pxr::TfToken, pxr::VtValue > data_
pxr::TfToken prim_type_
Protected Attributes inherited from blender::io::hydra::IdData
HydraSceneDelegatescene_delegate_

Detailed Description

Definition at line 17 of file world.hh.

Constructor & Destructor Documentation

◆ WorldData()

WorldData::WorldData ( HydraSceneDelegate * scene_delegate,
pxr::SdfPath const & prim_id )

Member Function Documentation

◆ init()

◆ update()


The documentation for this class was generated from the following files: