Click or drag to resize

ModelPrimitive Constructor

Initializes a default model primitive.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public ModelPrimitive()
Remarks

After constructing the primitive, call Load(Uri) to load a model file and set Position, Orientation, and Scale to place, orientate, and size the model in the 3D scene.

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