/* static */ UsdSkelRoot UsdSkelRoot::Define( const UsdStagePtr &stage, const SdfPath &path) { static TfToken usdPrimTypeName("SkelRoot"); if (!stage) { TF_CODING_ERROR("Invalid stage"); return UsdSkelRoot(); } return UsdSkelRoot( stage->DefinePrim(path, usdPrimTypeName)); }
/* static */ UsdGeomSphere UsdGeomSphere::Define( const UsdStagePtr &stage, const SdfPath &path) { static TfToken usdPrimTypeName("Sphere"); if (!stage) { TF_CODING_ERROR("Invalid stage"); return UsdGeomSphere(); } return UsdGeomSphere( stage->DefinePrim(path, usdPrimTypeName)); }
/* static */ UsdContrivedDerived UsdContrivedDerived::Define( const UsdStagePtr &stage, const SdfPath &path) { static TfToken usdPrimTypeName("Derived"); if (!stage) { TF_CODING_ERROR("Invalid stage"); return UsdContrivedDerived(); } return UsdContrivedDerived( stage->DefinePrim(path, usdPrimTypeName)); }
/* static */ UsdGeomCylinder UsdGeomCylinder::Define( const UsdStagePtr &stage, const SdfPath &path) { static TfToken usdPrimTypeName("Cylinder"); if (not stage) { TF_CODING_ERROR("Invalid stage"); return UsdGeomCylinder(); } return UsdGeomCylinder( stage->DefinePrim(path, usdPrimTypeName)); }
/* static */ UsdGeomNurbsCurves UsdGeomNurbsCurves::Define( const UsdStagePtr &stage, const SdfPath &path) { static TfToken usdPrimTypeName("NurbsCurves"); if (!stage) { TF_CODING_ERROR("Invalid stage"); return UsdGeomNurbsCurves(); } return UsdGeomNurbsCurves( stage->DefinePrim(path, usdPrimTypeName)); }