Loading...
Searching...
No Matches
binding.h
Go to the documentation of this file.
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_USD_USD_SKEL_BINDING_H
8#define PXR_USD_USD_SKEL_BINDING_H
9
11
12#include "pxr/pxr.h"
13#include "pxr/usd/usdSkel/api.h"
14
17
18PXR_NAMESPACE_OPEN_SCOPE
19
20
28{
29public:
31
33 const VtArray<UsdSkelSkinningQuery>& skinningQueries)
34 : _skel(skel), _skinningQueries(skinningQueries) {}
35
37 const UsdSkelSkeleton& GetSkeleton() const { return _skel; }
38
41 { return _skinningQueries; }
42
43private:
44 UsdSkelSkeleton _skel;
45 VtArray<UsdSkelSkinningQuery> _skinningQueries;
46};
47
48
49PXR_NAMESPACE_CLOSE_SCOPE
50
51#endif // USDSKEL_SKINNING_MAP
Helper object that describes the binding of a skeleton to a set of skinnable objects.
Definition: binding.h:28
const UsdSkelSkeleton & GetSkeleton() const
Returns the bound skeleton.
Definition: binding.h:37
const VtArray< UsdSkelSkinningQuery > & GetSkinningTargets() const
Returns the set skinning targets.
Definition: binding.h:40
Describes a skeleton.
Definition: skeleton.h:47
Represents an arbitrary dimensional rectangular container class.
Definition: array.h:213