HTML Encoding and Default Values⤴
<X3DTextureNode
crossOrigin='""'
metadata='X3DMetadataObject'
origChannelCount='0'
repeatS='true'
repeatT='true'
scale='true'
textureProperties='x3dom.nodeTypes.TextureProperties'
url='[]'
></X3DTextureNode>
Inheritance⤴
- Core/X3DNode(18)
- Shape/X3DAppearanceChildNode(9)
- X3DTextureNode (7)
- MultiTexture
- PixelTexture
- RenderedTexture
- Shaders/SurfaceShaderTexture
- Texture
- CubeMapTexturing/X3DEnvironmentTextureNode
- Texturing3D/X3DTexture3DNode
Fields⤴
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 | "" | Cross Origin Mode | |||
metadata | SFNode | X3DMetadataObject | Core/X3DNode | Field to add metadata information | ||
origChannelCount | SFInt32 | 0 | [0, inf] | Specifies the channel count of the texture. 0 means the system should figure out the count automatically. | ||
repeatS | SFBool | true | Specifies whether the texture is repeated in s direction. | |||
repeatT | SFBool | true | Specifies whether the texture is repeated in t direction. | |||
scale | SFBool | true | 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) | |||
textureProperties | SFNode | TextureProperties | Sets a TextureProperty node. | |||
url | MFString | [] | Sets the url to a resource. |