All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
primSpec.h File Reference
+ Include dependency graph for primSpec.h:

Go to the source code of this file.

Classes

class  SdfPrimSpec
 Represents a prim description in an SdfLayer object. More...
 

Functions

SDF_API SdfPrimSpecHandle SdfCreatePrimInLayer (const SdfLayerHandle &layer, const SdfPath &primPath)
 Convenience function to create a prim at the given path, and any necessary parent prims, in the given layer. More...
 

Function Documentation

SDF_API SdfPrimSpecHandle SdfCreatePrimInLayer ( const SdfLayerHandle &  layer,
const SdfPath primPath 
)

Convenience function to create a prim at the given path, and any necessary parent prims, in the given layer.

If a prim already exists at the given path it will be returned unmodified.

The new specs are created with SdfSpecifierOver and an empty type. primPath must be a valid prim path.