MovieTexture
MovieTexture applies a 2D movie image to surface geometry, or provides audio for a Sound node. First define as texture, then USE as Sound source to see it/hear it/save memory. Texture maps have a 2D coordinate system (s, t) horizontal and vertical, with (s, t) values in range [0.0, 1.0] for opposite corners of the image. Hint: insert Shape and Appearance nodes before adding texture.
Inheritance
Code
XML encoding
<MovieTexture logFeature='' triggerName='Timer' enabled='TRUE' resumeTime='0' pauseTime='0' stopTime='0' startTime='0' url='' speed='1.0' loop='FALSE' />
Classic encoding
MovieTexture { logFeature [""] triggerName "Timer" enabled TRUE resumeTime 0 pauseTime 0 stopTime 0 startTime 0 url [""] speed 1.0 loop FALSE }
Interface
Filter: X3D only | Avalon only | All
id | Name | DataType | PartType | Default | ValueType | Description |
---|---|---|---|---|---|---|
![]() |
cycleTime | SFTime | outputOnly | cycleTime sends a time outputOnly at startTime, and also at the beginning of each new cycle | ||
![]() |
fraction_changed | SFFloat | outputOnly | fraction_changed continuously sends value in range [0,1] showing time progress in the current cycle | ||
![]() |
time | SFTime | outputOnly | duration of the movie, in seconds. This value is sent as soon as the movie is loaded. A value of -1 implies that the movie has not yet loaded. | ||
![]() |
enabled | SFBool | inputOutput | TRUE | Flag to enable/disable the update. | |
![]() |
triggerName | SFString | initializeOnly | Timer | Name of the dynamic context-slot, which is used by the run-time environment (e.g. Jobs) to trigger the node. Life-Nodes will automatically connect the context-eventOutput to the triggerSlot-eventInput Slot. | |
![]() |
triggerSlot | SFTime | inputOnly | Slot which is used internally to connect a dynamic context-slot whose name is set by the triggerName value. It is used automatically to install a run-time environment trigger. | ||
![]() |
image_changed | SFImage | outputOnly | sends a singe image on change | ||
![]() |
logFeature | MFString | inputOutput | state, child, parent, route, eventIn, eventOut | controls the logging of changes, state: log state changes (e.g. live), child: log child add/remove, parent: log parent add/remove, route: log route add/remove; eventIn: log receiving of events, eventOut: log sending of events: guiView, runtime system should create node-view, guiEdit: runtime system should create node-editeverything: log everything |