setPiPEffect

From Bohemia Interactive Community
Revision as of 18:33, 31 August 2014 by Killzone Kid (talk | contribs) (see also)
Jump to navigation Jump to search


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 surface reference from Render To Texture
[effect, optionalParam1, ..., optionalParamN] : Array
effect : Number - effect type
optionalParam1: Parameters based on selected effect
Return Value:
Nothing

Examples

Example 1:
"rendersurface" 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:
Procedural TexturescamCreatecameraEffect

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