Loading...
Searching...
No Matches
UsdSkelImagingInbetweenShapeSchema Class Reference

Corresponds to UsdSkelInbetweenShape. More...

#include <inbetweenShapeSchema.h>

+ Inheritance diagram for UsdSkelImagingInbetweenShapeSchema:

Classes

class  Builder
 Utility class for setting sparse sets of child data source fields to be filled as arguments into BuildRetained. More...
 

Public Member Functions

Schema retrieval
 UsdSkelImagingInbetweenShapeSchema (HdContainerDataSourceHandle container)
 
Member accessor
USDSKELIMAGING_API HdFloatDataSourceHandle GetWeight () const
 Corresponds to Usd attribute metadata.
 
USDSKELIMAGING_API HdVec3fArrayDataSourceHandle GetOffsets () const
 
USDSKELIMAGING_API HdVec3fArrayDataSourceHandle GetNormalOffsets () const
 
- Public Member Functions inherited from HdSchema
 HdSchema (HdContainerDataSourceHandle container)
 
HD_API HdContainerDataSourceHandle GetContainer () const
 Returns the container data source that this schema is interpreting.
 
HD_API bool IsDefined () const
 
 operator bool () const
 Returns true if this schema is applied on top of a non-null container.
 

Static Public Member Functions

Schema construction
static USDSKELIMAGING_API HdContainerDataSourceHandle BuildRetained (const HdFloatDataSourceHandle &weight, const HdVec3fArrayDataSourceHandle &offsets, const HdVec3fArrayDataSourceHandle &normalOffsets)
 

Additional Inherited Members

- Public Types inherited from HdSchema
using UnderlyingDataSource = HdContainerDataSource
 
- Protected Member Functions inherited from HdSchema
template<typename T >
T::Handle _GetTypedDataSource (TfToken name) const
 Returns a datasource of the requested type for the given name: schema implementations can use this to ask for child containers, sampled values, vectors, etc.
 
- Protected Attributes inherited from HdSchema
HdContainerDataSourceHandle _container
 

Detailed Description

Corresponds to UsdSkelInbetweenShape.

Each instance corresponds to a group of attributes on a UsdSkelBlendShape that share a prefix inbetweens:NAME.

Definition at line 51 of file inbetweenShapeSchema.h.

Constructor & Destructor Documentation

◆ UsdSkelImagingInbetweenShapeSchema()

UsdSkelImagingInbetweenShapeSchema ( HdContainerDataSourceHandle  container)
inline

Definition at line 57 of file inbetweenShapeSchema.h.

Member Function Documentation

◆ BuildRetained()

static USDSKELIMAGING_API HdContainerDataSourceHandle BuildRetained ( const HdFloatDataSourceHandle &  weight,
const HdVec3fArrayDataSourceHandle &  offsets,
const HdVec3fArrayDataSourceHandle &  normalOffsets 
)
static
Deprecated:
Use Builder instead.

Builds a container data source which includes the provided child data sources. Parameters with nullptr values are excluded. This is a low-level interface. For cases in which it's desired to define the container with a sparse set of child fields, the Builder class is often more convenient and readable.

◆ GetWeight()

USDSKELIMAGING_API HdFloatDataSourceHandle GetWeight ( ) const

Corresponds to Usd attribute metadata.


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