Description
Sets the camera's reference point - the point
the camera is looking at. The camera's position is the reference
point translated by the direction vector.
Syntax
| [Visual Basic .NET] |
Public Sub ViewOffsetDirectionWithUpAxis( _
ByVal Axes As IAgCrdnAxes, _
ByVal ReferencePoint As IAgCrdnPoint, _
ByVal Direction As IAgCrdnVector, _
ByRef UpAxis() As Variant _
)
|
Parameters
Example
Shows the format of
the Offset and UpAxis parameters when setting the camera's
reference point with an offset.
| [C#] |
Copy Code
|
Array offset = new object[]
{
50.0,
50.0,
-50.0
};
Array upAxis = new object[]
{
0,
0,
1
};
scene.Camera.ViewOffsetWithUpAxis(
axes,
point,
ref offset,
ref upAxis);
|
|
Shows the format of
the Offset and UpAxis parameters when setting the camera's
reference point with an offset.
| [Visual Basic .NET] |
Copy Code
|
Dim offset
As Array
= New Object() {50, 50, -50}
Dim upAxis As Array =
New Object() {0, 0, 1}
scene.Camera.ViewOffsetWithUpAxis(axes, point, offset, upAxis)
|
|
See Also