Class: GeneratedCubeMapTexture

X3D: 3.3
Component: CubeMapTexturing

x3dom.nodeTypes. GeneratedCubeMapTexture

The GeneratedCubeMapTexture node defines a cubic environment map that sources its data from internally generated images, rendered from a virtual situated perspective in the scene.

HTML Encoding and Default Values

<GeneratedCubeMapTexture crossOrigin='""' metadata='X3DMetadataObject' origChannelCount='0' repeatS='true' repeatT='true' scale='true' size='128' textureProperties='x3dom.nodeTypes.TextureProperties' update=''NONE'' url='[]' ></GeneratedCubeMapTexture>




Constructor for GeneratedCubeMapTexture

Name Type Argument Default Description
ctx Object <optional>
null context object, containing initial settings like namespace


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 "" X3DEnvironmentTextureNode Cross Origin Mode
metadata SFNode X3DMetadataObject X3DEnvironmentTextureNode Field to add metadata information
origChannelCount SFInt32 0 [0, inf] X3DEnvironmentTextureNode Specifies the channel count of the texture. 0 means the system should figure out the count automatically.
repeatS SFBool true X3DEnvironmentTextureNode Specifies whether the texture is repeated in s direction.
repeatT SFBool true X3DEnvironmentTextureNode Specifies whether the texture is repeated in t direction.
scale SFBool true X3DEnvironmentTextureNode 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)
size SFInt32 128 (0, inf) The size field indicates the resolution of the generated images in number of pixels per side.
textureProperties SFNode TextureProperties X3DEnvironmentTextureNode Sets a TextureProperty node.
update SFString 'NONE' NOT YET IMPLEMENTED: The update field can be used to request a regeneration of the texture. Setting this field to "ALWAYS" will cause the texture to be rendered every frame. A value of "NONE" will stop rendering so that no further updates are performed even if the contained scene graph changes. When the value is set to "NEXT_FRAME_ONLY", it is an instruction to render the texture at the end of this frame, and then not render it again. In this case, the update frame indicator is set to this frame; at the start of the next frame, the update value shall be automatically set back to "NONE" to indicate that the rendering has already taken place.
url MFString [] X3DEnvironmentTextureNode Sets the url to a resource.