AGI STK Graphics 11 Send comments on this topic.
InitializeWithStringUriAndUpAxis Method (IAgStkGraphicsModelPrimitiveFactory)
See Also 
Uri
The path to the model file.
UpAxis
The axis representing the up direction of the model file.





Description

For convenience. Initializes a model primitive with the specified file path and up axis.

Syntax

[Visual Basic .NET]
Public Function InitializeWithStringUriAndUpAxis( _
   ByVal Uri As String, _
   ByVal UpAxis As AgEStkGraphicsModelUpAxis _
) As IAgStkGraphicsModelPrimitive

[C#]
public IAgStkGraphicsModelPrimitive InitializeWithStringUriAndUpAxis(
string Uri,
AgEStkGraphicsModelUpAxis UpAxis
);

[Managed C++]
public: IAgStkGraphicsModelPrimitive^ InitializeWithStringUriAndUpAxis(
String __gc ^ Uri,
AgEStkGraphicsModelUpAxis UpAxis
);

[Java]
public IAgStkGraphicsModelPrimitive initializeWithStringUriAndUpAxis(
String Uri,
AgEStkGraphicsModelUpAxis UpAxis
);

[Unmanaged C++]
public: HRESULT InitializeWithStringUriAndUpAxis(
BSTR Uri,
AgEStkGraphicsModelUpAxis UpAxis,
IAgStkGraphicsModelPrimitive ** ReturnValue
);

Parameters

Uri
The path to the model file.
UpAxis
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.
The axis representing the up direction of the model file.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1