ModelPrimitiveLoad Method (String, ModelUpAxis) |
For convenience. Loads a
glTF 2.0 (.gltf, .glb),
COLLADA (DAE) or
AGI
MDL (MDL) model using a file path.
Namespace:
AGI.Foundation.Graphics
Assembly:
AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public void Load(
string uri,
ModelUpAxis upAxis
)
Public Sub Load (
uri As String,
upAxis As ModelUpAxis
)
public:
void Load(
String^ uri,
ModelUpAxis upAxis
)
member Load :
uri : string *
upAxis : ModelUpAxis -> unit
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 Also