Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

float[] nurbsViewDirectionVector( int $onlyOrtho )

Get the current camera view direction as a normalized vector. If $onlyOrtho flag is set to true, this is done for the orthogonal cameras only; the perspective cameras get the default up direction returned as the result.

Return value

None

Related

camera, roll, track, tumble, viewCamera, viewLookAt

Arguments

Variable Name Variable Type Description
$onlyOrthoint- do this only for ortho windows

MEL examples

	nurbsViewDirectionVector(0);