This function sets a camera.
Copy Code | |
---|---|
bool SetCameraDesc( dict Desc ); |
Desc
Type: dict
The camera description to set. All properties are optional, except 'Name'.
Name | Type | Description |
---|---|---|
Depth | float | The view depth in meter. |
Direction_Yaw | float | The locale yaw-direction in radian. |
Direction_Pitch | float | The locale pitch-direction in radian. |
Direction_Roll | float | The locale roll-direction in radian. |
FieldOfView | float | The field of view in radian. |
Name | string | The name of the anchor. |
Position_x | float | The locale position on x-axis. |
Position_y | float | The locale position on y-axis. |
Position_z | float | The locale position on z-axis. |
Returns true if the item was set, false if not.
The camera is identified by the 'Name' property of the 'Desc' argument.
This function affects only this instance of the shape.