ModelPrimitive Constructor (String, ModelUpAxis) |
For convenience. Initializes a model primitive with the specified file path and up axis.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ModelPrimitive(
string uri,
ModelUpAxis upAxis
)
Public Sub New (
uri As String,
upAxis As ModelUpAxis
)
public:
ModelPrimitive(
String^ uri,
ModelUpAxis upAxis
)
new :
uri : string *
upAxis : ModelUpAxis -> ModelPrimitive
Parameters
- uri
- Type: SystemString
The path to the model file. - upAxis
- Type: AGI.Foundation.GraphicsModelUpAxis
The axis representing the up direction of the model file.
Remarks
See
[M:AGI.Foundation.Graphics.ModelPrimitive.#ctor(System.Uri, ModelUpAxis)].
for a full discussion.
See Also