Difference between revisions of "Appearance"

From Web3D.org
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 23: Line 23:
  
 
# A single, optional IS.
 
# A single, optional IS.
# A single, optional node derived from X3DMetadataObject for the ''metadata'' field.
+
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
# Any number, including none, of X3DAppearanceChildNodes or Prototypes, where X3DAppearanceChildNodes are:
+
# Any number, including none, of ''X3DAppearanceChildNodes'' or Prototypes, where ''X3DAppearanceChildNodes'' are:
## LineProperties
+
## [[LineProperties]]
## FillProperties
+
## [[FillProperties]]
 
## MaterialNodes,  which are
 
## MaterialNodes,  which are
### Material
+
### [[Material]]
### TwoSidedMaterial
+
### [[TwoSidedMaterial]]
 
## Texture2DNodes, which are
 
## Texture2DNodes, which are
### ImageTexture
+
### [[ImageTexture]]
### MovieTexture
+
### [[MovieTexture]]
### MultiTexture
+
### [[MultiTexture]]
### PixelTexture
+
### [[PixelTexture]]
 
## CubeMapTextureNodes, which are
 
## CubeMapTextureNodes, which are
### ComposedCubeMapTexture
+
### [[ComposedCubeMapTexture]]
### GeneratedCubeMapTexture
+
### [[GeneratedCubeMapTexture]]
### ImageCubeMapTexture
+
### [[ImageCubeMapTexture]]
 
## ShaderNodes, which are
 
## ShaderNodes, which are
### ComposedShader
+
### [[ComposedShader]]
### PackagedShader
+
### [[PackagedShader]]
### ProgramShader
+
### [[ProgramShader]]
 
## Texture3DTextureNodes, which are
 
## Texture3DTextureNodes, which are
### ComposedTexture3D
+
### [[ComposedTexture3D]]
### ImageTexture3D
+
### [[ImageTexture3D]]
### PixelTexture3D
+
### [[PixelTexture3D]]
 
## TextureTransformNodes, which are
 
## TextureTransformNodes, which are
### TextureTransform
+
### [[TextureTransform]]
### MultiTextureTransform
+
### [[MultiTextureTransform]]
 
## Texture3DTextureTransformNodes, which are
 
## Texture3DTextureTransformNodes, which are
### TextureTransformMatrix3D
+
### [[TextureTransformMatrix3D]]
### TextureTransform3D
+
### [[TextureTransform3D]]
  
 
Note: There are no limitations on the numbers of nodes to match the interface definition.
 
Note: There are no limitations on the numbers of nodes to match the interface definition.
Line 67: Line 67:
  
 
# A single, optional IS.
 
# A single, optional IS.
# A single, optional node derived from X3DMetadataObject for the ''metadata'' field.
+
# A single, optional node derived from ''X3DMetadataObject'' for the ''metadata'' field.
# Any number, including none, of either Prototypes, or one of the nodes listed below:
+
# Any number, including none, of either Prototypes, or the nodes listed below:
## LineProperties
+
## [[LineProperties]]
## FillProperties
+
## [[FillProperties]]
## Material
+
## [[Material]]
## TwoSidedMaterial
+
## [[TwoSidedMaterial]]
## ComposedShader
+
## [[ComposedShader]]
## PackagedShader
+
## [[PackagedShader]]
## ProgramShader
+
## [[ProgramShader]]
## ComposedCubeMapTexture
+
## [[ComposedCubeMapTexture]]
## ComposedTexture3D
+
## [[ComposedTexture3D]]
## ImageTexture
+
## [[ImageTexture]]
## ImageTexture3D
+
## [[ImageTexture3D]]
## MovieTexture
+
## [[MovieTexture]]
## MultiTexture
+
## [[MultiTexture]]
## PixelTexture
+
## [[PixelTexture]]
## PixelTexture3D
+
## [[PixelTexture3D]]
## GeneratedCubeMapTexture
+
## [[GeneratedCubeMapTexture]]
## ImageCubeMapTexture
+
## [[ImageCubeMapTexture]]
## MultiTextureTransform
+
## [[MultiTextureTransform]]
## TextureTransform
+
## [[TextureTransform]]
## TextureTransform3D
+
## [[TextureTransform3D]]
## TextureTransformMatrix3D
+
## [[TextureTransformMatrix3D]]
  
 
Note: There are no limitations on the numbers of nodes to match the interface definition.
 
Note: There are no limitations on the numbers of nodes to match the interface definition.

Latest revision as of 09:42, 24 April 2015

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:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. Any number, including none, of X3DAppearanceChildNodes or Prototypes, where X3DAppearanceChildNodes are:
    1. LineProperties
    2. FillProperties
    3. MaterialNodes, which are
      1. Material
      2. TwoSidedMaterial
    4. Texture2DNodes, which are
      1. ImageTexture
      2. MovieTexture
      3. MultiTexture
      4. PixelTexture
    5. CubeMapTextureNodes, which are
      1. ComposedCubeMapTexture
      2. GeneratedCubeMapTexture
      3. ImageCubeMapTexture
    6. ShaderNodes, which are
      1. ComposedShader
      2. PackagedShader
      3. ProgramShader
    7. Texture3DTextureNodes, which are
      1. ComposedTexture3D
      2. ImageTexture3D
      3. PixelTexture3D
    8. TextureTransformNodes, which are
      1. TextureTransform
      2. MultiTextureTransform
    9. Texture3DTextureTransformNodes, which are
      1. TextureTransformMatrix3D
      2. 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:

  1. A single, optional IS.
  2. A single, optional node derived from X3DMetadataObject for the metadata field.
  3. Any number, including none, of either Prototypes, or the nodes listed below:
    1. LineProperties
    2. FillProperties
    3. Material
    4. TwoSidedMaterial
    5. ComposedShader
    6. PackagedShader
    7. ProgramShader
    8. ComposedCubeMapTexture
    9. ComposedTexture3D
    10. ImageTexture
    11. ImageTexture3D
    12. MovieTexture
    13. MultiTexture
    14. PixelTexture
    15. PixelTexture3D
    16. GeneratedCubeMapTexture
    17. ImageCubeMapTexture
    18. MultiTextureTransform
    19. TextureTransform
    20. TextureTransform3D
    21. TextureTransformMatrix3D

Note: There are no limitations on the numbers of nodes to match the interface definition.

Attributes

N/A

Schematron Validation

TBD