You are here: Start » AVL.NET » Function Reference » Surface » Surface Features » AVL.SurfaceNormalsImage

AVL.SurfaceNormalsImage

Computes a normals image for a surface

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void SurfaceNormalsImage
(
	AvlNet.Surface inSurface,
	float inScale,
	AvlNet.Image outNormalsImage
)

Parameters

Name Type Range Default Description
inSurfaceAvlNet.Surface
inScalefloat<0.0f, INF>1.0fDefault value: 1.0f.
outNormalsImageAvlNet.Image

Errors

List of possible exceptions:

Error type Description
DomainError Region of interest exceeds an input surface in SurfaceNormalsImage.

Function Overrides

See also