The prim filter needs to know about some state provided in the proxy shape node. In order to maintain a separation between the filter and the proxy (so that it's easy to test!), this class acts as a bridge between the two.
More...
#include <PrimFilter.h>
|
virtual TfToken | getTypeForPath (const SdfPath &path)=0 |
| Given a path to a prim, this method will return some type information for the prim found at that path, which the proxy shape has previously cached (i.e. the old state of the prim prior to a variant switch). If the proxy shape is aware of the prim, and the returned info is valid, true will be returned. If the proxy shape is unaware of the prim (i.e. a variant switch has created it), then false will be returned. More...
|
|
virtual bool | getTypeInfo (TfToken type, bool &supportsUpdate, bool &requiresParent)=0 |
| for a specific type, this method should return whether it supports update, and if that type requires a DAG path to be created. More...
|
|
The prim filter needs to know about some state provided in the proxy shape node. In order to maintain a separation between the filter and the proxy (so that it's easy to test!), this class acts as a bridge between the two.
virtual TfToken AL::usdmaya::nodes::proxy::PrimFilterInterface::getTypeForPath |
( |
const SdfPath & |
path | ) |
|
|
pure virtual |
Given a path to a prim, this method will return some type information for the prim found at that path, which the proxy shape has previously cached (i.e. the old state of the prim prior to a variant switch). If the proxy shape is aware of the prim, and the returned info is valid, true will be returned. If the proxy shape is unaware of the prim (i.e. a variant switch has created it), then false will be returned.
- Parameters
-
path | the path to the prim we are querying |
- Returns
- true if the prim is known about, and the info structure contains valid information. False if the prim is an unknown type
virtual bool AL::usdmaya::nodes::proxy::PrimFilterInterface::getTypeInfo |
( |
TfToken |
type, |
|
|
bool & |
supportsUpdate, |
|
|
bool & |
requiresParent |
|
) |
| |
|
pure virtual |
for a specific type, this method should return whether it supports update, and if that type requires a DAG path to be created.
- Parameters
-
type | the type to query |
supportsUpdate | returned value that indicates if the type in question can be updated |
requiresParent | returned value that indicates whether the type in question needs a DAG path to be created |
- Returns
- returns false if the type is unknown, true otherwise
The documentation for this struct was generated from the following file: