Difference between revisions of "Appearance"
From Web3D.org
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
* [[Node Reference]] | * [[Node Reference]] | ||
==Appearance== | ==Appearance== | ||
+ | |||
+ | Specification Link: [http://www.web3d.org/documents/specifications/19775-1/V3.3/Part01/components/shape.html#Appearance Appearance] | ||
<pre> | <pre> | ||
Line 14: | Line 16: | ||
</pre> | </pre> | ||
− | + | ==DTD Validation== | |
− | + | ===Children=== | |
− | + | Children must appear as follows: | |
− | + | # A single, optional IS. | |
+ | # A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field. | ||
+ | # Any number, including none, of ''X3DAppearanceChildNodes'' or Prototypes, where ''X3DAppearanceChildNodes'' are: | ||
+ | ## [[LineProperties]] | ||
+ | ## [[FillProperties]] | ||
+ | ## MaterialNodes, which are | ||
+ | ### [[Material]] | ||
+ | ### [[TwoSidedMaterial]] | ||
+ | ## Texture2DNodes, which are | ||
+ | ### [[ImageTexture]] | ||
+ | ### [[MovieTexture]] | ||
+ | ### [[MultiTexture]] | ||
+ | ### [[PixelTexture]] | ||
+ | ## CubeMapTextureNodes, which are | ||
+ | ### [[ComposedCubeMapTexture]] | ||
+ | ### [[GeneratedCubeMapTexture]] | ||
+ | ### [[ImageCubeMapTexture]] | ||
+ | ## ShaderNodes, which are | ||
+ | ### [[ComposedShader]] | ||
+ | ### [[PackagedShader]] | ||
+ | ### [[ProgramShader]] | ||
+ | ## Texture3DTextureNodes, which are | ||
+ | ### [[ComposedTexture3D]] | ||
+ | ### [[ImageTexture3D]] | ||
+ | ### [[PixelTexture3D]] | ||
+ | ## TextureTransformNodes, which are | ||
+ | ### [[TextureTransform]] | ||
+ | ### [[MultiTextureTransform]] | ||
+ | ## Texture3DTextureTransformNodes, which are | ||
+ | ### [[TextureTransformMatrix3D]] | ||
+ | ### [[TextureTransform3D]] | ||
− | + | Note: There are no limitations on the numbers of nodes to match the interface definition. | |
− | + | ===Attributes=== | |
− | == | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | N/A. | |
+ | |||
+ | ==Schema Validation== | ||
+ | |||
+ | ===Children=== | ||
+ | |||
+ | Children must appear as follows: | ||
+ | |||
+ | # A single, optional IS. | ||
+ | # A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field. | ||
+ | # Any number, including none, of either Prototypes, or the nodes listed below: | ||
+ | ## [[LineProperties]] | ||
+ | ## [[FillProperties]] | ||
+ | ## [[Material]] | ||
+ | ## [[TwoSidedMaterial]] | ||
+ | ## [[ComposedShader]] | ||
+ | ## [[PackagedShader]] | ||
+ | ## [[ProgramShader]] | ||
+ | ## [[ComposedCubeMapTexture]] | ||
+ | ## [[ComposedTexture3D]] | ||
+ | ## [[ImageTexture]] | ||
+ | ## [[ImageTexture3D]] | ||
+ | ## [[MovieTexture]] | ||
+ | ## [[MultiTexture]] | ||
+ | ## [[PixelTexture]] | ||
+ | ## [[PixelTexture3D]] | ||
+ | ## [[GeneratedCubeMapTexture]] | ||
+ | ## [[ImageCubeMapTexture]] | ||
+ | ## [[MultiTextureTransform]] | ||
+ | ## [[TextureTransform]] | ||
+ | ## [[TextureTransform3D]] | ||
+ | ## [[TextureTransformMatrix3D]] | ||
+ | |||
+ | Note: There are no limitations on the numbers of nodes to match the interface definition. | ||
+ | |||
+ | ===Attributes=== | ||
+ | |||
+ | N/A | ||
+ | |||
+ | ==Schematron Validation== | ||
+ | |||
+ | TBD | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* [[Node Reference]] | * [[Node Reference]] |
Latest revision as of 09:42, 24 April 2015
Contents
Appearance
Specification Link: Appearance
Appearance : X3DAppearanceNode { SFNode [in,out] fillProperties NULL [FillProperties] SFNode [in,out] lineProperties NULL [LineProperties] SFNode [in,out] material NULL [X3DMaterialNode] SFNode [in,out] metadata NULL [X3DMetadataObject] MFNode [in,out] shaders [] [X3DShaderNode] SFNode [in,out] texture NULL [X3DTextureNode] SFNode [in,out] textureTransform NULL [X3DTextureTransformNode] }
DTD Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
- Any number, including none, of X3DAppearanceChildNodes or Prototypes, where X3DAppearanceChildNodes are:
- LineProperties
- FillProperties
- MaterialNodes, which are
- Texture2DNodes, which are
- CubeMapTextureNodes, which are
- ShaderNodes, which are
- Texture3DTextureNodes, which are
- TextureTransformNodes, which are
- Texture3DTextureTransformNodes, which are
Note: There are no limitations on the numbers of nodes to match the interface definition.
Attributes
N/A.
Schema Validation
Children
Children must appear as follows:
- A single, optional IS.
- A single, optional node derived from X3DMetadataObject for the metadata field.
- Any number, including none, of either Prototypes, or the nodes listed below:
- LineProperties
- FillProperties
- Material
- TwoSidedMaterial
- ComposedShader
- PackagedShader
- ProgramShader
- ComposedCubeMapTexture
- ComposedTexture3D
- ImageTexture
- ImageTexture3D
- MovieTexture
- MultiTexture
- PixelTexture
- PixelTexture3D
- GeneratedCubeMapTexture
- ImageCubeMapTexture
- MultiTextureTransform
- TextureTransform
- TextureTransform3D
- TextureTransformMatrix3D
Note: There are no limitations on the numbers of nodes to match the interface definition.
Attributes
N/A
Schematron Validation
TBD