TransformationMatrix.Perspective

TransformationMatrix.Perspective method

Creates perspective matrix.

public static TransformationMatrix Perspective(double fov, double aspect, double near, double far, 
    double distance)
ParameterTypeDescription
fovDoubleField of view value.
aspectDoubleAspect ratio.
nearDoubleNear Z value.
farDoubleFar Z value.
distanceDoubleDistance to object.

Return Value

Perspective transformation matrix.

See Also