BIS fnc camera setCam: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " {2,}\}\}" to " }}")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function
{{RV|type=function


|game1= arma3
|game1= arma3
|version1= 1.00
|version1= 1.00


|gr1 = Camera
|gr1= Camera


|descr= Sets camera instance of camera object.
|descr= Sets camera instance of camera object.
Line 11: Line 10:
|s1= [camera, cameraInstance] call [[BIS_fnc_camera_setCam]]
|s1= [camera, cameraInstance] call [[BIS_fnc_camera_setCam]]


|p1= camera: [[Object]] - The camera
|p1= camera: [[Object]] - the camera


|p2= cameraInstance: [[Object]] - Camera instance
|p2= cameraInstance: [[Object]] - camera instance


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[BIS_camera,BIS_camera_instance] [[call]] [[BIS_fnc_camera_setCam]];</code>
|x1= <sqf>[BIS_camera,BIS_camera_instance] call BIS_fnc_camera_setCam;</sqf>
 
|exec= call


|seealso= [[BIS_fnc_camera_getCam]]
|seealso= [[BIS_fnc_camera_getCam]]
}}
}}
[[Category:Functions|{{uc:camera_setCam}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:camera_setCam}}]]

Latest revision as of 15:50, 8 November 2023

Hover & click on the images for description

Description

Description:
Sets camera instance of camera object.
Execution:
call
Groups:
Camera

Syntax

Syntax:
[camera, cameraInstance] call BIS_fnc_camera_setCam
Parameters:
camera: Object - the camera
cameraInstance: Object - camera instance
Return Value:
Nothing

Examples

Example 1:
[BIS_camera,BIS_camera_instance] call BIS_fnc_camera_setCam;

Additional Information

See also:
BIS_fnc_camera_getCam

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note