File size: 2,421 Bytes
b6a38d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
# cameraMax reference


## cameraMax.Activate

Activates the Max the camera.


void **cameraMax.Activate**(int view)
int view
: set 1 for the first view. Set 0 to deactivate all the views.


## cameraMax.GetPosLookAt

Returns camera position and 'look at' point


void **cameraMax.GetPosLookAt**([int view])
int view
: optional, set 1 for the first view

_returns_ point pos, point look_at
: camera position and 'look at' point


## cameraMax.IsActive

Check if the Max camera is active.


bool **cameraMax.IsActive**()

## cameraMax.SetAnimObj

Attach camera to the object spot "Camera", looking to another object spot "Target". Camera horizontal FOV is controlled by the spot scale, interpret as radians multiplied by 1000.


void **cameraMax.SetAnimObj**(object obj, [int view])
int view
: optional, set 1 for the first view


## cameraMax.SetCamera

Set camera position and 'look at' point


void **cameraMax.SetCamera**(point pos, point look_at, [int time])
point pos
: new position of the camera.

point look_at
: new look at position of the camera.

int time
: time (ms) to interpolate to the new camera


## cameraMax.SetCameraEx

Set camera position and 'look at' point


void **cameraMax.SetCameraEx**(int view, point pos, point look_at, [int time])
int view
: set 1 for the first view.

point pos
: new position of the camera.

point look_at
: new look at position of the camera.

int time
: time (ms) to interpolate to the new camera


## cameraMax.SetCameraPrecise

Set camera position and 'look at' point


void **cameraMax.SetCameraPrecise**(point pos, point look_at, [int time])
point pos
: new position of the camera multiplied by 1000.

point look_at
: new look at position of the camera multiplied by 1000.

int time
: time (ms) to interpolate to the new camera


## cameraMax.SetPositionLookatAndRoll

Set camera position,'look at' and roll


void **cameraMax.SetPositionLookatAndRoll**(point pos, point look_at, int roll)
point pos
: new position of the camera.

point look_at
: new look at position of the camera.

int roll
: roll angle in minutes





(insert footer.md.html here)
<link rel="stylesheet" type="text/css" href="Style.css" />
<!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="markdeep.min.js" charset="utf-8"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>