perspective method

perspective

Creates perspective matrix.

Returns

Perspective transformation matrix.

def perspective(self, fov, aspect, near, far, distance):
    ...
ParameterTypeDescription
fovfloatField of view value.
aspectfloatAspect ratio.
nearfloatNear Z value.
farfloatFar Z value.
distancefloatDistance to object.

See Also