Click or drag to resize

CameraZoomAlong Method

Get closer along an axis towards a world location.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public void ZoomAlong(
	Vector3 dir,
	Vector3 worldLoc,
	double z
)

Parameters

dir
Type: Microsoft.DirectXVector3
Direction vector for camera.
worldLoc
Type: Microsoft.DirectXVector3
World location to look at.
z
Type: SystemDouble
Distance from world location along dir vector.
See Also