Open CASCADE Technology  7.2.0
Public Member Functions
Vrml_MaterialBinding Class Reference

defines a MaterialBinding node of VRML specifying properties of geometry and its appearance. Material nodes may contain more than one material. This node specifies how the current materials are bound to shapes that follow in the scene graph. Each shape node may interpret bindings differently. For example, a Sphere node is always drawn using the first material in the material node, no matter what the current MaterialBinding, while a Cube node may use six different materials to draw each of its six faces, depending on the MaterialBinding. More...

#include <Vrml_MaterialBinding.hxx>

Public Member Functions

 Vrml_MaterialBinding (const Vrml_MaterialBindingAndNormalBinding aValue)
 
 Vrml_MaterialBinding ()
 
void SetValue (const Vrml_MaterialBindingAndNormalBinding aValue)
 
Vrml_MaterialBindingAndNormalBinding Value () const
 
Standard_OStreamPrint (Standard_OStream &anOStream) const
 

Detailed Description

defines a MaterialBinding node of VRML specifying properties of geometry and its appearance. Material nodes may contain more than one material. This node specifies how the current materials are bound to shapes that follow in the scene graph. Each shape node may interpret bindings differently. For example, a Sphere node is always drawn using the first material in the material node, no matter what the current MaterialBinding, while a Cube node may use six different materials to draw each of its six faces, depending on the MaterialBinding.

Constructor & Destructor Documentation

◆ Vrml_MaterialBinding() [1/2]

Vrml_MaterialBinding::Vrml_MaterialBinding ( const Vrml_MaterialBindingAndNormalBinding  aValue)

◆ Vrml_MaterialBinding() [2/2]

Vrml_MaterialBinding::Vrml_MaterialBinding ( )

Member Function Documentation

◆ Print()

Standard_OStream& Vrml_MaterialBinding::Print ( Standard_OStream anOStream) const

◆ SetValue()

void Vrml_MaterialBinding::SetValue ( const Vrml_MaterialBindingAndNormalBinding  aValue)

◆ Value()

Vrml_MaterialBindingAndNormalBinding Vrml_MaterialBinding::Value ( ) const

The documentation for this class was generated from the following file: