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 offset.
Syntax
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