Loading...
Searching...
No Matches
UsdImagingDataSourceMapped::AttributeMapping Struct Referencefinal

Specify how an attribute on the given Usd prim maps to a data source in this (nested) container data source. More...

#include <dataSourceMapped.h>

+ Inheritance diagram for UsdImagingDataSourceMapped::AttributeMapping:

Public Attributes

DataSourceAttributeFactoryFn factory
 Function to compute data source from UsdAttribute.
 
- Public Attributes inherited from UsdImagingDataSourceMapped::PropertyMappingBase
TfToken usdName
 Name of attribute on Usd Prim.
 
HdDataSourceLocator hdLocator
 Corresponding location in this data source.
 

Detailed Description

Specify how an attribute on the given Usd prim maps to a data source in this (nested) container data source.

Definition at line 83 of file dataSourceMapped.h.

Member Data Documentation

◆ factory

DataSourceAttributeFactoryFn factory
Initial value:
=
DataSourceAttributeFactoryPtr(
UsdImagingDataSourceAttributeNew)

Function to compute data source from UsdAttribute.

Defaults to the appropriate overload of UsdImagingDataSourceAttributeNew.

Clients can implement custom behavior. For example, following the connection of a UsdShadeOutput and return the path of the connected prim.

Definition at line 94 of file dataSourceMapped.h.


The documentation for this struct was generated from the following file: