Share

AcGsConfig::setGenerateVertexNormals Method

C++

virtual void setGenerateVertexNormals(
    bool bEnable
) = 0;

Description

Sets the generate vertex normals flag.

Parameters

Parameters Description
bEnable Input true for the vertex normals to be generated for surfaces that request normal generation. If false, no vertex normals will be generated.

Notes

The default value is false. Vertex normals are generated by averaging the face normals of all faces sharing a vertex; this results in a smoothed appearance. See the bAutoGenerateNormals flag in AcGiGeometry::shell() and AcGiGeometry::mesh() for more information.

Links

AcGsConfig

Previous Class

AcGsConfig2

Was this information helpful?