[Visual Basic .NET] |
---|
Public Sub LoadWithStringUriAndUpAxis( _ ByVal Uri As String, _ ByVal UpAxis As AgEStkGraphicsModelUpAxis _ ) |
[C#] |
---|
public void LoadWithStringUriAndUpAxis( |
[Managed C++] |
---|
public: void LoadWithStringUriAndUpAxis( |
[Java] |
---|
public loadWithStringUriAndUpAxis( |
[Unmanaged C++] |
---|
public: HRESULT LoadWithStringUriAndUpAxis( |
- Uri
- The path to the model file.
- UpAxis
The axis representing the up direction of the model file.Member Value Description eStkGraphicsModelUpAxisX 0 The positive X axis. eStkGraphicsModelUpAxisY 1 The positive Y axis. eStkGraphicsModelUpAxisZ 2 The positive Z axis. eStkGraphicsModelUpAxisNegativeX 3 The negative X axis. eStkGraphicsModelUpAxisNegativeY 4 The negative Y axis. eStkGraphicsModelUpAxisNegativeZ 5 The negative Z axis.
If the model includes articulations, they can be accessed using Articulations.
If the model's Automatically Compute Bounding Sphere property is true
, Bounding Sphere is set to fit around the model. Otherwise, it is the caller's responsibility to update the model's Bounding Sphere to a sphere that encompasses the model.
Loading a new model does not change the model's Position, Orientation, or Scale.