HTML Encoding and Default Values⤴
<TextureTransform
center='0,0'
metadata='X3DMetadataObject'
rotation='0'
scale='1,1'
translation='0,0'
></TextureTransform>
Inheritance⤴
- Core/X3DNode(19)
- Shape/X3DAppearanceChildNode(8)
- X3DTextureTransformNode(3)
- TextureTransform
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 |
---|---|---|---|---|---|---|
center | SFVec2f | 0,0 | The center field specifies a translation offset in texture coordinate space about which the rotation and scale fields are applied. | |||
metadata | SFNode | X3DMetadataObject | Core/X3DNode | Field to add metadata information | ||
rotation | SFFloat | 0 | The rotation field specifies a rotation in angle base units of the texture coordinates about the center point after the scale has been applied. A positive rotation value makes the texture coordinates rotate counterclockwise about the centre, thereby rotating the appearance of the texture itself clockwise. | |||
scale | SFVec2f | 1,1 | The scale field specifies a scaling factor in S and T of the texture coordinates about the center point. | |||
translation | SFVec2f | 0,0 | The translation field specifies a translation of the texture coordinates. |