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: 23.1.416.0 (23.1.416.0)
public ModelPrimitive()

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