Go to: Attributes.

The threadedDevice node is an abstract node that other nodes inherit from. In this node, there is a separate thread that is started when the node is created. This thread is used for acquiring data from a device. This secondary thread will push data into the node using mutex locking. When the data has been acquired, the thread will mark the output attribute as dirty so that compute in the main thread will be called. The compute method will acquire the data and set the attribute accordingly. This allows the threaded node to drive a plug such as translate continuously without being in playback mode.

This node is abstract

Node nameParentsMFn typeCompatible function sets
threadedDevicenodekThreadedDevicekBase
kNamedObject
kDependencyNode
kThreadedDevice

Attributes (3)

frameRate, live, output

Long name (short name)TypeDefaultFlags
live (lv) boolfalseoutputinputconnectable
Set to true to enable the data thread
frameRate (fr) double15.0outputinputconnectablestorable
Frame rate controls the throttle of the data thread. This is a requested value as Maya may not be able to provide the frame rate as set
output (o) Genericn/aoutputinputconnectablestorablehidden
Function attribute to get the value of the input at a time