ModelPrimitive Class |
Namespace: AGI.Foundation.Graphics
The ModelPrimitive type exposes the following members.
Name | Description | |
---|---|---|
ModelPrimitive |
Initializes a default model primitive.
| |
ModelPrimitive(String) |
For convenience. Initializes a model primitive with the specified file path.
| |
ModelPrimitive(Uri) |
Initializes a model primitive with the specified uri.
| |
ModelPrimitive(String, ModelUpAxis) |
For convenience. Initializes a model primitive with the specified file path and up axis.
| |
ModelPrimitive(Uri, ModelUpAxis) |
Initializes a model primitive with the specified uri and up axis.
|
Name | Description | |
---|---|---|
Articulations |
Gets the model's articulations. Articulations identify geometry and
contain transformations for manipulating that geometry.
| |
AutomaticallyComputeBoundingSphere |
Gets or sets if the primitive's BoundingSphere is automatically computed.
(Inherited from Primitive.) | |
BoundingSphere |
Gets or sets the bounding sphere that encompasses the primitive.
The center is defined in the primitive's ReferenceFrame.
(Inherited from Primitive.) | |
Color |
Gets or sets the primitive's color.
(Inherited from Primitive.) | |
Display |
Gets or sets if the primitive should be
rendered.
Both this and DisplayCondition must evaluate to true for
the primitive to be rendered.
(Inherited from Primitive.) | |
DisplayCondition |
Gets or sets the display condition that determines if the primitive should be
rendered.
Both this and Display must evaluate to true for
the primitive to be rendered.
(Inherited from Primitive.) | |
Orientation |
Gets or sets the model's orientation. The quaternion is a rotation
from the model's local axes to the axes of the model's
ReferenceFrame.
| |
Position |
Gets or sets the position of the model. The position is defined
in the model's ReferenceFrame.
| |
ReferenceFrame |
Gets or sets the reference frame this primitive is defined and rendered in.
(Inherited from Primitive.) | |
Scale |
Gets or sets the linear scale used to increase or decrease the size of the rendered model.
| |
Tag |
Gets or sets custom data associated with this primitive.
(Inherited from Primitive.) | |
Translucency |
Gets or sets the primitive's translucency. The model primitive only
supports a translucency of 0.
(Overrides PrimitiveTranslucency.) | |
Uri |
Gets the URI of the file used to load the file.
|
Name | Description | |
---|---|---|
Dispose | (Inherited from Primitive.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Load(String) | ||
Load(Uri) | ||
Load(String, ModelUpAxis) | ||
Load(Uri, ModelUpAxis) | ||
SetPositionCartographic |
For convenience. Sets the Cartographic
position of the model.
Longitude and latitude are in radians, and altitude is in meters.
This also sets Position.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |