19 this->
object_->instance_collection =
nullptr;
26 if (this->
object_->instance_collection) {
28 this->
object_->instance_collection =
nullptr;
31 this->
object_->instance_collection = coll;
37 if (pxr::UsdPrim proto =
prim_.GetPrototype()) {
38 return proto.GetPath();
41 return pxr::SdfPath();
General operations, lookup, etc. for blender objects.
Object * BKE_object_add_only_object(Main *bmain, int type, const char *name) ATTR_RETURNS_NONNULL
Object groups, one object can be in many groups at once.
Object is a sort of wrapper for general info.
pxr::SdfPath proto_path() const
void create_object(Main *bmain) override
void set_instance_collection(Collection *coll)