MeshPlugΒΆ
class MeshPlug
A MeshPlug is a special Plug that contains sub plugs to allow OpenGL rendering.
Hierarchy
Members
Plugs:
{OpenGLMesh,aabb} | Mesh | RW | The mesh to be rendered |
{OpenGLMesh,aabb} | Mesh | RW | The mesh to be rendered |
table | MeshColor | RW | The rendered mesh color |
types.int | MeshFlags | RW | The mesh rendering flags, such as hidden, constant scale, etc. |
types.int | MeshRenderMode | RW | The mesh rendering mode, wireframe, filled, shaded or camera driven. |
types.int | MeshSamplingRange | RW | The mesh sampling range, for AA display. |
types.float | MeshScaleFactor | RW | The mesh scale factor for constant scale meshes. |
transform | Transform | RW | The mesh transform |
Inherited from class Plug
Methods:
| isconnected | (
|
Test if a plug is connected to another |
| hasoutputs | ( ) | Tells if the plug is connected in output to some other plugs |
| adddependency | (
|
Connect an output plug to this plug |
| removedependency | (
|
Connect an output plug to this plug |
| removealldependencies | ( ) | Remove all input dependencies of this plug |
| hasdependencies | ( ) | Tells if the plug is dependent on other plugs |
| getbackdependencies | ( ) | Retrieve the list of plugs this plug has dependencies on, or nil if none |
| hasbackdependencies | ( ) | Tells if some plugs are dependent on this plug |
| getname | ( ) | Returns the name of the plug in its parent |
| getpath | ( ) | Returns the path of the plug |
| getflags | ( ) | Gets the plug flags. |
| getflag | (
|
Get a specific plug flag. |
| isanimatable | ( ) | Tells if the plug value can be animated |
| gettype | ( ) | Get the type associated to the plug |
| isrefoverriden | ( ) | Tells if the plug state is overriden from its reference state |
| tostring | ( ) | Returns a human readble string of the plug's value |
| getdependencies | ( ) | Retrieve the list of plugs this plug is dependent on, or nil if none |
| adddependencies | (
|
Connect outputs plug to this plug |
| removedependencies | (
|
Connect an output plug to this plug |
| get | ( ) | Returns the value of a plug. The plug must be readable. |
| set | (
|
Set the value of a plug. The plug must be writable. |
| getraw | ( ) | Returns the raw value of a plug, regardless of its invalidation state. |
| isvalid | ( ) | Returns the validity status of the plug |
| validate | ( ) | Force the plug validation by evaluating the plug. |
| setvalid | ( ) | Force the plug valid state, but the plug is not evaluated. |
| touch | ( ) | Invalidate this plug |
| connect | (
|
Connect an output plug to this plug |
| getoutputs | ( ) | Returns the list of output connections |
| disconnectall | ( ) | Disconnect a plug from all its connections |
| disconnect | (
|
Disconnect an output plug from this plug |
| disconnectcontrol | ( ) | Disconnect the plug from its input and delete the input if it is a control and it is no longer connected |
| getnode | ( ) | Returns the parent node of the plug |
| isdependent | (
|
Returns true if this plug is dependent on other |
| getinput | ( ) | Returns the input connection |
| delete | ( ) | Delete this plug. |
| setflags | (
|
Sets the plug flags |
| getinmotion | (
|
Return an array of values of this plug evaluated in time. |
Documentation
The mesh to be rendered
The mesh to be rendered
The rendered mesh color
The mesh rendering flags, such as hidden, constant scale, etc.
The mesh rendering mode, wireframe, filled, shaded or camera driven.
The mesh sampling range, for AA display.
The mesh scale factor for constant scale meshes.
The mesh transform