AL_USDMaya  0.29.4
USD to Maya Bridge
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Metadata.h
Go to the documentation of this file.
1 //
2 // Copyright 2017 Animal Logic
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.//
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16 #pragma once
17 //----------------------------------------------------------------------------------------------------------------------
20 //----------------------------------------------------------------------------------------------------------------------
21 
22 #include "./Api.h"
23 
24 #include "pxr/pxr.h"
25 #include "pxr/base/tf/token.h"
26 
27 PXR_NAMESPACE_USING_DIRECTIVE
28 
29 namespace AL {
30 namespace usdmaya {
31 
33 struct Metadata
34 {
36  AL_USDMAYA_PUBLIC
37  static const TfToken transformType;
38 
41  AL_USDMAYA_PUBLIC
42  static const TfToken excludeFromProxyShape;
43 
45  AL_USDMAYA_PUBLIC
46  static const TfToken importAsNative;
47 
49  AL_USDMAYA_PUBLIC
50  static const TfToken selectability;
51 
53  AL_USDMAYA_PUBLIC
54  static const TfToken selectable;
55 
57  AL_USDMAYA_PUBLIC
58  static const TfToken unselectable;
59 
60  AL_USDMAYA_PUBLIC
61  static const TfToken mergedTransform;
62  AL_USDMAYA_PUBLIC
63  static const TfToken unmerged;
64 
66  AL_USDMAYA_PUBLIC
67  static const TfToken locked;
68 
70  AL_USDMAYA_PUBLIC
71  static const TfToken lockTransform;
72 
74  AL_USDMAYA_PUBLIC
75  static const TfToken lockInherited;
76 
78  AL_USDMAYA_PUBLIC
79  static const TfToken lockUnlocked;
80 };
81 
82 //----------------------------------------------------------------------------------------------------------------------
83 } // usdmaya
84 } // AL
85 //----------------------------------------------------------------------------------------------------------------------
static AL_USDMAYA_PUBLIC const TfToken lockUnlocked
Value used in the lock property that tags prim unlocked regardless of its parent state.
Definition: Metadata.h:79
static AL_USDMAYA_PUBLIC const TfToken locked
Name of the property that determines if attributes on corresponding Maya object of the prim are locke...
Definition: Metadata.h:67
The MetaData tokens we attach to various prims.
Definition: Metadata.h:33
static AL_USDMAYA_PUBLIC const TfToken excludeFromProxyShape
Definition: Metadata.h:42
static AL_USDMAYA_PUBLIC const TfToken selectable
Value used in the selectibility property that tags the prim as selectable.
Definition: Metadata.h:54
static AL_USDMAYA_PUBLIC const TfToken selectability
Name of the property that determines if the prim is selectable or not.
Definition: Metadata.h:50
static AL_USDMAYA_PUBLIC const TfToken lockInherited
Value used in the lock property that tags prim inherits its parent state.
Definition: Metadata.h:75
static AL_USDMAYA_PUBLIC const TfToken importAsNative
MetaData token that controls whether a prim will be imported as Maya geometry.
Definition: Metadata.h:46
static AL_USDMAYA_PUBLIC const TfToken lockTransform
Value used in the lock property that tags transform (including children) attributes are locked...
Definition: Metadata.h:71
static AL_USDMAYA_PUBLIC const TfToken unselectable
Value used in the selectibility property that tags the prim as unselectable.
Definition: Metadata.h:58
static AL_USDMAYA_PUBLIC const TfToken transformType
MetaData token that allows the overriding of the transform type from the default AL_usdmaya_Transform...
Definition: Metadata.h:37