Initialize the trackball to match a perspective camera view
Namespace: Ico.Windows.Media.Media3DAssembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public void InitializeCamera(
Camera camera,
Vector3D cameraOffset
) |
Visual Basic |
---|
Public Sub InitializeCamera ( _
camera As Camera, _
cameraOffset As Vector3D _
) |
JScript |
---|
public function InitializeCamera(
camera : Camera,
cameraOffset : Vector3D
) |
Parameters
- camera
- Type: System.Windows.Media.Media3D..::..Camera
the source camera used for the initialization
- cameraOffset
- Type: System.Windows.Media.Media3D..::..Vector3D
the additional offset to apply to the camera
See Also