usdrt::UsdTyped

Defined in usdrt/scenegraph/usd/usd/impl/usd_decl.h

Functions

Variables

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.

UsdPrim GetPrim() const

Return this schema object’s held prim.

SdfPath GetPath() const

Return the SdfPath to this schema object’s held prim.

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