Description This function retrieves the flag that indicates whether a faceted surface has been toggled to use vertex normal data.
Syntax useNormals = FacetedSurfGetUseVertexNormals( fsNode )
Parameters useNormals (Boolean) Returned boolean indicating whether the faceted surface uses vertex normal data.
fsNode As Long Node number of the faceted surface being queried.
Example The following example queries a faceted surface for its vertex normal usage flag and then prints the returned value to the output window.
Sub Main Dim fsNode As Long Dim useNormals As Boolean fsNode = FindFullName( "Geometry.Elem 1.Faceted Surface Test" ) useNormals = FacetedSurfGetUseVertexNormals( fsNode ) Print GetFullName( fsNode ) & " uses vertex normals: " & useNormals
End Sub
See Also FacetedSurfGetHasVertexNormals FacetedSurfSetUseVertexNormals
|