AGI STK Graphics 11Send 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.
Windows






Windows & Linux

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
MemberValueDescription
eStkGraphicsModelUpAxisX0The positive X axis.
eStkGraphicsModelUpAxisY1The positive Y axis.
eStkGraphicsModelUpAxisZ2The positive Z axis.
eStkGraphicsModelUpAxisNegativeX3The negative X axis.
eStkGraphicsModelUpAxisNegativeY4The negative Y axis.
eStkGraphicsModelUpAxisNegativeZ5The negative Z axis.
The axis representing the up direction of the model file.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.