Titania X3D Editor

It starts with you!

Titania v3.0.4

It starts with you!

X3D Reference

FillProperties

FillProperties

FillProperties indicates whether appearance is filled or hatched for associated geometry nodes inside the same Shape. Hatches are applied on top of the already rendered appearance of the node, and are not affected by lighting.

The FillProperties node belongs to the Shape component and its container field is fillProperties. It is available since X3D version 3.0 or later.

Hierarchy

Fields

SFNode [in, out] metadata NULL [X3DMetadataObject]

Metadata are not part of the X3D world and not interpreted by the X3D browser, but they can be accessed via the ECMAScript interface.

SFBool [in, out] filled TRUE

Whether or not associated geometry is filled.

SFBool [in, out] hatched TRUE

Whether or not associated geometry is hatched.

SFInt32 [in, out] hatchStyle 1 [0,∞)

HatchStyle selects a hatch pattern from International Register of Graphical Items. 1=Horizontal equally spaced parallel lines. 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 or malleable iron and general use for all materials). 8=(steel). 9=(bronze, brass, copper, and compositions). 10=(white metal, zinc, lead, babbit, and alloys). 11=(magnesium, aluminum, and aluminum alloys). 12=(rubber, plastic, and electrical insulation). 13=(cork, felt, fabric, leather, and fibre). 14=(thermal insulation). 15=(titanium and refi-actory material). 16=(marble, slate, porcelain, glass, etc.). 17=(earth). 18=(sand). 19=(repeating dot).

Hint

Detailed descriptions of hatchstyle values are found at the ISO/IEC International Register of Graphical Items http://www.iso.org/jtc1/sc24/register (may require login)

SFColor [in, out] hatchColor 1 1 1 [0,1]

Color of the hatch pattern.

Description

Hints

  • DEF/USE copies of a single node can provide a similar "look + feel" style for related shapes in a scene.
  • Include <component name='Shape' level='3'/>

Browser Compatibility

Titania X_ITE
yes no

External Links