setPiPEffect: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
Killzone Kid (talk | contribs) (see also) |
||
Line 20: | Line 20: | ||
| name '''setPiPEffect''' [effect, optionalParam1, ..., optionalParamN]|= Syntax | | name '''setPiPEffect''' [effect, optionalParam1, ..., optionalParamN]|= Syntax | ||
|p1= name : [[String]] - Render | |p1= name : [[String]] - Render surface reference from [http://community.bistudio.com/wiki/Procedural_Textures#Render_To_Texture Render To Texture] |= Parameter 1 | ||
|p2= effect : [[Number]] - effect type |= Parameter | |p2= [effect, optionalParam1, ..., optionalParamN] : [[Array]] |= Parameter 2 | ||
| | |p3= effect : [[Number]] - effect type |= Parameter 3 | ||
|p4= optionalParam1: Parameters based on selected effect |= Parameter 4 | |||
| [[Nothing]] |= Return value | | [[Nothing]] |= Return value | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>" | |x1= <code>"rendersurface" [[setPiPEffect]] [0];</code> |= | ||
|x2= <code>"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]];</code> |= | |x2= <code>"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]];</code> |= | ||
| | | [[Procedural Textures]], [[camCreate]], [[cameraEffect]] |= See also | ||
}} | }} |
Revision as of 17:33, 31 August 2014
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
Categories:
- Scripting Commands
- Introduced with Take On Helicopters version 1.00
- Take On Helicopters: New Scripting Commands
- Take On Helicopters: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands Take On Helicopters
- Take On Helicopters: New Scripting Commands List
- Arma 3: New Scripting Commands List
- Scripting Commands Arma 3