X3D FillProperties

FillProperties • Example

Sets additional properties to surface areas on top of what is specified in Appearance.

Shape

hatched

Field Type: SFBool
Access Type: inputOutput
Default Value: TRUE
Value Range: ...
Description: Surface areas will be hatched according to hatchStyle.

filled

Field Type: SFBool
Access Type: inputOutput
Default Value: TRUE
Value Range: ...
Description: Surface area according to other fields in Appearance.

hatchStyle

Field Type: SFInt32
Access Type: inputOutput
Default Value: 1
Value Range: 0, ∞
Description: Sets a hatch pattern defined by International Register of Graphical Items. Hatch styles 1-6 are required by all X3D browsers:

  1. Horizontal equally spaced parallel lines (Default)
  2. Vertical equally spaced parallel lines
  3. Positive slope equally spaced parallel lines
  4. Negative slope equally spaced parallel lines
  5. Horizontal/vertical crosshatch
  6. Positive slope/negative slope crosshatch
  7. Cast Iron
  8. Steel
  9. Bronze, brass, copper
  10. White metal, zinc, lead, babbit
  11. Magnesium, aluminum
  12. Rubber, plastic, and electrical insulation
  13. Cork,felt, fabric, leather, and fibre
  14. Thermal insulation
  15. Titanium and refractory material
  16. Marble, slate, porcelain, glass
  17. Earth
  18. Sand
  19. Repeating dots

hatchColor

Field Type: SFColor
Access Type: inputOutput
Default Value: 1 1 1
Value Range: 0, 1
Description: Set the color of the hatchStyle.

metadata

Field Type: SFNode
Access Type: inputOutput
Default Value: NULL
Value Range: X3DMetadataObject
Description: Information about this node.