Node: MovieTexture

X3D: 3.3
Component: Texturing

Quick Links

➨ Fields

The MovieTexture node defines a time dependent texture map (contained in a movie file) and parameters for controlling the movie and the texture mapping.

HTML Encoding and Default Values

<MovieTexture crossOrigin='""' hideChildren='true' loop='false' metadata='X3DMetadataObject' origChannelCount='0' pauseTime='0' pitch='1.0' repeatS='true' repeatT='true' resumeTime='0' scale='true' speed='1.0' startTime='0' stopTime='0' textureProperties='x3dom.nodeTypes.TextureProperties' url='[]' ></MovieTexture>



These are the X3D / X3DOM fields of this node. Values should usually be received / set as strings via DOM functions (i.e., using setAttribute("myFieldName", "myFieldValue") and getAttribute("myFieldName")).
Name Type Default Value Range Inheritance Standard Description
crossOrigin SFString "" X3DTextureNode Cross Origin Mode
hideChildren SFBool true Texture Specifies whether the children are shown or hidden outside the texture.
loop SFBool false Specifies whether the playback restarts after finished.
metadata SFNode X3DMetadataObject Core/X3DNode Field to add metadata information
origChannelCount SFInt32 0 [0, inf] X3DTextureNode Specifies the channel count of the texture. 0 means the system should figure out the count automatically.
pauseTime SFTime 0 Sets a time to pause the video.
pitch SFFloat 1.0
repeatS SFBool true X3DTextureNode Specifies whether the texture is repeated in s direction.
repeatT SFBool true X3DTextureNode Specifies whether the texture is repeated in t direction.
resumeTime SFTime 0 Sets a time to resume from pause.
scale SFBool true X3DTextureNode Specifies whether the texture is scaled to the next highest power of two. (Needed, when texture repeat is enabled and texture size is non power of two)
speed SFFloat 1.0 Specifies the plaback speed.
startTime SFTime 0 Sets a start time for the video.
stopTime SFTime 0 Sets a stop time for the video.
textureProperties SFNode TextureProperties X3DTextureNode Sets a TextureProperty node.
url MFString [] X3DTextureNode Sets the url to a resource.