pymel.core.nodetypes.Place3dTexture¶
digraph inheritance4f13fcaa58 { rankdir=TB; ranksep=0.15; nodesep=0.15; size="8.0, 12.0"; "ContainerBase" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.ContainerBase.html#pymel.core.nodetypes.ContainerBase",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "DependNode" -> "ContainerBase" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DagNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.DagNode.html#pymel.core.nodetypes.DagNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "Entity" -> "DagNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DependNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.DependNode.html#pymel.core.nodetypes.DependNode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" -> "DependNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Entity" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.Entity.html#pymel.core.nodetypes.Entity",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "ContainerBase" -> "Entity" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Place3dTexture" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="#pymel.core.nodetypes.Place3dTexture",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "Transform" -> "Place3dTexture" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ProxyUnicode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.util.utilitytypes/pymel.util.utilitytypes.ProxyUnicode.html#pymel.util.utilitytypes.ProxyUnicode",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8]; "PyNode" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="../pymel.core.general/pymel.core.general.PyNode.html#pymel.core.general.PyNode",style="setlinewidth(0.5)",tooltip="Abstract class that is base for all pymel nodes classes.",height=0.25,shape=box,fontsize=8]; "ProxyUnicode" -> "PyNode" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Transform" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",URL="pymel.core.nodetypes.Transform.html#pymel.core.nodetypes.Transform",style="setlinewidth(0.5)",tooltip="class counterpart of mel function `xform`",height=0.25,shape=box,fontsize=8]; "DagNode" -> "Transform" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
- class Place3dTexture(*args, **kwargs)¶
- LimitType = Enum( EnumValue('LimitType', 0, 'scaleMinX'), EnumValue('LimitType', 1, 'scaleMaxX'), EnumValue('LimitType', 2, 'scaleMinY'), EnumValue('LimitType', 3, 'scaleMaxY'), EnumValue('LimitType', 4, 'scaleMinZ'), EnumValue('LimitType', 5, 'scaleMaxZ'), EnumValue('LimitType', 6, 'shearMinXY'), EnumValue('LimitType', 7, 'shearMaxXY'), EnumValue('LimitType', 8, 'shearMinXZ'), EnumValue('LimitType', 9, 'shearMaxXZ'), EnumValue('LimitType', 10, 'shearMinYZ'), EnumValue('LimitType', 11, 'shearMaxYZ'), EnumValue('LimitType', 12, 'rotateMinX'), EnumValue('LimitType', 13, 'rotateMaxX'), EnumValue('LimitType', 14, 'rotateMinY'), EnumValue('LimitType', 15, 'rotateMaxY'), EnumValue('LimitType', 16, 'rotateMinZ'), EnumValue('LimitType', 17, 'rotateMaxZ'), EnumValue('LimitType', 18, 'translateMinX'), EnumValue('LimitType', 19, 'translateMaxX'), EnumValue('LimitType', 20, 'translateMinY'), EnumValue('LimitType', 21, 'translateMaxY'), EnumValue('LimitType', 22, 'translateMinZ'), EnumValue('LimitType', 23, 'translateMaxZ'))¶
- enableLimit(type, flag)¶
Enable or disable the limit value for the specified limit type.
Parameters: - type : Transform.LimitType
type to apply a limit
values: ‘scaleMinX’, ‘scaleMaxX’, ‘scaleMinY’, ‘scaleMaxY’, ‘scaleMinZ’, ‘scaleMaxZ’, ‘shearMinXY’, ‘shearMaxXY’, ‘shearMinXZ’, ‘shearMaxXZ’, ‘shearMinYZ’, ‘shearMaxYZ’, ‘rotateMinX’, ‘rotateMaxX’, ‘rotateMinY’, ‘rotateMaxY’, ‘rotateMinZ’, ‘rotateMaxZ’, ‘translateMinX’, ‘translateMaxX’, ‘translateMinY’, ‘translateMaxY’, ‘translateMinZ’, ‘translateMaxZ’
- flag : bool
true or false to enable
Derived from api method maya.OpenMaya.MFnTransform.enableLimit
- getRotateOrientation(space)¶
Returns the rotation used to orient the local rotation space. For the precise mathematics, refer to the transformation matrix details in the description section of MFnTransform .
Parameters: - space : Space.Space
space in which to get the rotation orientation. This argument is currently ignored. The rotateOrientation is always returned in local space: MSpace::kTransform.
values: ‘transform’, ‘preTransform’, ‘object’, ‘world’
Return type: Quaternion
Derived from api method maya.OpenMaya.MSpace.rotateOrientation
- getRotationQuaternion(space='transform')¶
Retrieve the rotation component of this transformation as a quaternion. The only valid transformation spaces for this method are MSpace::kTransform and MSpace::kWorld . All other spaces are treated as being equivalent to MSpace::kTransform .
Parameters: - space : Space.Space
transform space in which to get the rotation
values: ‘transform’, ‘preTransform’, ‘object’, ‘world’
Return type: (float, float, float, float)
Derived from api method maya.OpenMaya.MSpace.getRotationQuaternion
- limitValue(type)¶
Determine the current value of the specified limit.
Parameters: - type : Transform.LimitType
type to query limit
values: ‘scaleMinX’, ‘scaleMaxX’, ‘scaleMinY’, ‘scaleMaxY’, ‘scaleMinZ’, ‘scaleMaxZ’, ‘shearMinXY’, ‘shearMaxXY’, ‘shearMinXZ’, ‘shearMaxXZ’, ‘shearMinYZ’, ‘shearMaxYZ’, ‘rotateMinX’, ‘rotateMaxX’, ‘rotateMinY’, ‘rotateMaxY’, ‘rotateMinZ’, ‘rotateMaxZ’, ‘translateMinX’, ‘translateMaxX’, ‘translateMinY’, ‘translateMaxY’, ‘translateMinZ’, ‘translateMaxZ’
Return type: float
Derived from api method maya.OpenMaya.MFnTransform.limitValue
- rotateByQuaternion(x, y, z, w, space='transform')¶
Relatively change the rotation of this transformation using a quaternion.
Parameters: - x : float
x component of the quaternion
- y : float
y component of the quaternion
- z : float
z component of the quaternion
- w : float
w component of the quaternion
- space : Space.Space
transform space in which to perform the rotation
values: ‘transform’, ‘preTransform’, ‘object’, ‘world’
Derived from api method maya.OpenMaya.MSpace.rotateByQuaternion
Undo is not currently supported for this method
- set(transform)¶
Change this transform to equal the given matrix.
Parameters: - transform : TransformationMatrix
the matrix to copy
Derived from api method maya.OpenMaya.MFnTransform.set
- setRotateOrientation(quat, space, balance=True)¶
Set the rotation used to orient the local rotation space. For the precise mathematics, refer to the transformation matrix details in the description section of MFnTransform .
Parameters: - quat : Quaternion
new orientation as a quaternion
- space : Space.Space
transform space in which to set the rotateOrientation. This argument is currently ignored. The rotateOrientation always set in local space: MSpace::kTransform.
values: ‘transform’, ‘preTransform’, ‘object’, ‘world’
- balance : bool
whether to balance the overall transformation matrix
Derived from api method maya.OpenMaya.MSpace.setRotateOrientation
- setRotationQuaternion(x, y, z, w, space='transform')¶
Change the rotation component of this transformation using a quaternion. The only valid transformation spaces for this method are MSpace::kTransform and MSpace::kWorld . All other spaces are treated as being equivalent to MSpace::kTransform .
Parameters: - x : float
x component of the quaternion
- y : float
y component of the quaternion
- z : float
z component of the quaternion
- w : float
w component of the quaternion
- space : Space.Space
transform space in which to perform the rotation
values: ‘transform’, ‘preTransform’, ‘object’, ‘world’
Derived from api method maya.OpenMaya.MSpace.setRotationQuaternion
- transformation()¶
Retrieve the transformation matrix represented by this transform.
Return type: TransformationMatrix Derived from api method maya.OpenMaya.MFnTransform.transformation