MayaImagePlane¶
-
class
guerilla.
MayaImagePlane
¶ Bases:
guerilla.Locator
,guerilla.ShaderNodeTexture
This node displays a bitmap on a 3d plane, it can be linked to the camera
The MayaImagePlane class inherit from Locator to be displayed in the scene and from ShaderNodeTexture to be able to load/compile a texture
-
AlphaGain
¶ Texture alpha gain
Type: RW
-
ColorGain
¶ Texture color gain
Type: RW
-
ColorOffset
¶ Texture color offset
Type: RW
-
DisplayMode
¶ Render mode of the plane
Type: types.enum
-
Distance
¶ The distance of the MayaImagePlane to the parent camera
Type: types.float
-
Fit
¶ Fit texture to “Fill”, “Best”, “Horizontal”, “Vertical”, or “To Size”
Type: types.enum
-
FitTo
¶ Fit plane to “Resolution Gate”, “Film Gate”, or “Custom”
Type: types.enum
-
InAllCams
¶ Plane is visible in all cameras
Type: types.bool
-
Size
¶ The plane aperture, in inches
Type: types.vector2
-