setPiPEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
Line 45: Line 45:
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Take On Helicopters: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Arma_3:_New_Scripting_Commands_List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]

Revision as of 12:40, 25 March 2013


Hover & click on the images for description

Description

Description:
Set a Render Target's visual effect (Picture-in-Picture).
  • 0: normal (HDR)
  • 1: NV
  • 2: TI
  • 3: Color correction
  • 4: Mirror
Groups:
Uncategorised

Syntax

Syntax:
name setPiPEffect [effect, optionalParam1, ..., optionalParamN]
Parameters:
name : String - Render Target name
effect : Number - effect type
optionalParam1: Parameters based on selected effect
Return Value:
Nothing

Examples

Example 1:
"rendertarget0" setPiPEffect [0];
Example 2:
"rendertarget0" setPiPEffect [3, 1.0, 1.0, 1.0, 0.0, [0.0, 1.0, 0.0, 0.25], [1.0, 0.0, 1.0, 1.0], [0.199, 0.587, 0.114, 0.0]];

Additional Information

See also:
See also needed

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

Notes

Bottom Section