None.
None.
None.
| Signature | Parameters | Description |
|---|---|---|
| MFnLightDataAttribute() | Default constructor. Returns a new MFnLightDataAttribute function set with no Maya object attached. | |
| MFnLightDataAttribute(object) | object - MObject | Returns a new MFnLightDataAttribute function set, attached to the specified Maya object. |
| Signature | Parameters | Returns | Description |
|---|---|---|---|
| child(index) | index - int | MObject | Returns the specified child attribute. |
| create(longName, shortName, direction, intensity, ambient, diffuse, specular, shadowFraction, preShadowIntensity, blindData) | longName - string
shortName - string direction - MObject intensity - MObject ambient - MObject diffuse - MObject specular - MObject shadowFraction - MObject preShadowIntensity - MObject blindData - MObject |
MObject | Creates a new light data attribute having the child attributes provided, attaches it to the function set and returns it in an MObject. |
| Name | Type | Access | Description |
|---|---|---|---|
| default | ((dirX, dirY, dirZ), (intR, intG, intB), ambient, diffuse, specular, shadowFraction, preshadowIntensity, blindData) | RW | Tuple containing the default values for the light data attribute's child attributes: a 3-tuple for the light direction; a 3-tuple for the color intensity; separate bools for the ambient, diffuse and specular attrs; a float for the shadowFraction; a float for the preShadowIntensity; a long for the blind data. |
None.
None.
None.
© 2011 Autodesk, Inc. All rights reserved.