Difference between revisions of "Node"

From Silhouette Wiki
Jump to navigation Jump to search
(Created page with "The Node object generates output (usually an image) based on a set of inputs (image data and properties). ''Base Class: Object'' === Attributes === ''Attributes are rea...")
 
Line 38: Line 38:
 
! scope="col" class="unsortable" | Description
 
! scope="col" class="unsortable" | Description
 
|-
 
|-
|render(frame, stream=[[Silhouette Module Reference#Stream Type Constants|Stream_Left)
+
|render(frame, stream=[[Silhouette Module Reference#Stream Type Constants|Stream_Left]]
 
|render at the desired frame and returns a [[Raster]] with the result
 
|render at the desired frame and returns a [[Raster]] with the result
 
|}
 
|}

Revision as of 22:07, 20 November 2012

The Node object generates output (usually an image) based on a set of inputs (image data and properties).

Base Class: Object

Attributes

Attributes are read-only except where noted.

Name Description
active True if the active node
enabled True if enabled (read/write)
imageToWorldTransform the Matrix used to transform from image coordinates to world coordinates
inputs List of input Ports
outputs List of output Ports
session the Session the node is in (same as parent)
worldToImageTransform the Matrix used to transform from world coordinates to image coordinates

Methods

Name Description
render(frame, stream=Stream_Left render at the desired frame and returns a Raster with the result