usdrt::UsdTyped
Defined in usdrt/scenegraph/usd/usd/impl/usd_decl.h
Functions
usdrt::DestructionSchemaDestructibleBaseAPI::GetPath: Return the SdfPath to this schema object's held prim.
usdrt::DestructionSchemaDestructibleBaseAPI::GetPrim: Return this schema object's held prim.
usdrt::UsdTyped::UsdTyped: Construct a UsdTyped on UsdPrim
prim
.usdrt::UsdTyped::UsdTyped: Construct a UsdTyped on the prim wrapped by
schema
.usdrt::UsdSchemaBase::operator bool: Return true if the held prim is valid.
Variables
usdrt::UsdTyped::schemaType: Compile time constant representing what kind of schema this class is.
-
class UsdTyped : public usdrt::UsdSchemaBase
The base class for all typed schemas, and therefore the base class for all instantiable and “IsA” schemas.
Subclassed by usdrt::PhysxSchemaPhysxPhysicsAttachment, usdrt::PhysxSchemaPhysxVehicleTireFrictionTable, usdrt::UsdGeomImageable, usdrt::UsdGeomSubset, usdrt::UsdPhysicsCollisionGroup, usdrt::UsdPhysicsScene, usdrt::UsdRenderDenoisePass, usdrt::UsdRenderPass, usdrt::UsdRenderSettingsBase, usdrt::UsdRenderVar, usdrt::UsdShadeNodeGraph, usdrt::UsdShadeShader, usdrt::UsdSkelAnimation, usdrt::UsdSkelBlendShape, usdrt::UsdUIBackdrop
Public Functions
-
inline explicit UsdTyped(const UsdPrim &prim = UsdPrim())
Construct a UsdTyped on UsdPrim
prim
.- Parameters
prim – The held prim. Default UsdPrim().
-
inline explicit UsdTyped(const UsdSchemaBase &schema)
Construct a UsdTyped on the prim wrapped by
schema
.- Parameters
schema – The given schema.
-
explicit operator bool() const
Return true if the held prim is valid.
See also
See UsdPrim::IsValid.
Public Static Attributes
-
static const UsdSchemaType schemaType = UsdSchemaType::AbstractBase
Compile time constant representing what kind of schema this class is.
See also
See UsdSchemaType in usd/common.h
-
inline explicit UsdTyped(const UsdPrim &prim = UsdPrim())