Click or drag to resize

SolidPrimitive Constructor (SetHint)

Initializes a solid primitive with the specified setHint.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public SolidPrimitive(
	SetHint setHint
)

Parameters

setHint
Type: AGI.Foundation.GraphicsSetHint
The expected usage for Set methods. See the Set Hint topic for more information on selecting an appropriate value.
Exceptions
ExceptionCondition
UnsupportedCaseExceptionsetHint must be Infrequent or Frequent. Partial is not supported by this primitive.
Remarks

After constructing the primitive, call Set to provide it with a SolidTriangulatorResult.

The primitive's properties are initialized to the following values:

Once the primitive is constructed, it must be added to Primitives before it will be rendered.

See Also