proceduralΒΆ
class procedural
During a procedural script execution, this interface gives access to the primitives linked to the procedural.
Members
| getattributes | (
|
Returns the render attributes of a shape |
| getattributes | ( ) | Returns the current render attributes |
| getboundsandtransform | (
|
Returns the local bounds and transform of a list of shapes |
| getboundsandtransform | (
|
Returns the local bounds and transform of a shape |
| getcameratransform | (
|
Returns a camera transform |
| getcurrenttime | ( ) | Returns the frame current time |
| getlaabb | (
|
Returns the local aabb of a shape |
| getmaincamera | ( ) | Returns the main camera matrix |
| getmultiattributes | (
|
Returns a particle multiplication attributes |
| getrenderertype | ( ) | Returns the type of renderer |
| getshaderoutputs | (
|
Return a table with all the shader outputs presents in the primitive's materials. |
| getshape | (
|
Retrieves a shape |
| gettransform | ( ) | Returns the current transform |
| gettransform | (
|
Returns the transform of a shape |
| gettrianglearray | (
|
Build a triangle array out of a shape |
| getvar | (
|
Returns a primitive variable |
| getvarsize | (
|
Return the number of components of a variable |
Documentation
Returns the render attributes of a shape
handle The shape's handle.
result The shape render attributes
Returns the current render attributes
result
Returns the local bounds and transform of a list of shapes
handles The shapes hanles as an array.
result The shapes bounds and transform
Returns the local bounds and transform of a shape
handle The shape's handle.
result The shape bounds and transform
Returns a camera transform
id Camera index (1 for the left most) or nil for the left camera.
result
Returns the frame current time
result
Returns the local aabb of a shape
handle The shape's handle.
result The shape's local aabb
Returns the main camera matrix
result
Returns a particle multiplication attributes
handle The particle system handle
multiCount,multiRadius The particle system multiplication attributes
Returns the type of renderer
result
Return a table with all the shader outputs presents in the primitive's materials.
The returned table is like this :
{
"Ci" = true,
"Oi" = true,
"Specular" = true,
etc..
}
handle The primitive's handle
Retrieves a shape
handle The shape's handle
result
Returns the current transform
result
Returns the transform of a shape
handle The shape's handle.
result The shape transform
Build a triangle array out of a shape
handle The shape's handleuseND If true, use "Pnd" to compute the triangulation, else use the "P"
result
Returns a primitive variable
handle The shape's handle.variable The variable to get
result The primitive variable as a vect
Return the number of components of a variable
name The variable name to get the size
result