Previous Up Next

M3setCamera
Sets a camera’s parameters (as integer values).

I M3setCamera (
S3d _session_
H3d _camera_
[[I I] [I I] [I I I]] _params_
)
Parameters

_session_
3D Session
_camera_
Camera
_params_
Camera parameters
Return value

0 if successful, otherwise nil
Remark

Camera parameters are :
dx dy Projection distances (formula X=dx*x/z, Y=dy*y/z)
sx sy Screen half-width and half-height
zclip zmiddle zmax Distances for : near clipping, fog start, far clipping
See Also

M3getCamera