My program doesn't have bugs. It just develops random features.
Difference between revisions of "UE2:Combiner (UT2004)"
From Unreal Wiki, The Unreal Engine Documentation Site
(Auto-generated page) |
m (added most descriptions) |
||
Line 4: | Line 4: | ||
| parent2 = Object | | parent2 = Object | ||
}} | }} | ||
− | {{ | + | {{expand}} |
− | + | ||
==Properties== | ==Properties== | ||
Line 12: | Line 11: | ||
'''Type:''' {{tl|EAlphaOperation}} | '''Type:''' {{tl|EAlphaOperation}} | ||
− | + | How to calculate the alpha channel of the combiner. | |
'''Default value:''' {{tl|EAlphaOperation|||AO_Use_Mask}} | '''Default value:''' {{tl|EAlphaOperation|||AO_Use_Mask}} | ||
Line 19: | Line 18: | ||
'''Type:''' {{tl|EColorOperation}} | '''Type:''' {{tl|EColorOperation}} | ||
− | + | How to calculate the RGB channel of the combiner. | |
====InvertMask==== | ====InvertMask==== | ||
'''Type:''' [[bool]] | '''Type:''' [[bool]] | ||
− | + | Whether the alpha channel of the {{tl|Mask}} should be inverted. | |
====Mask==== | ====Mask==== | ||
Line 31: | Line 30: | ||
'''[[Variables#Modifiers|Modifiers]]:''' editinlineuse | '''[[Variables#Modifiers|Modifiers]]:''' editinlineuse | ||
− | + | The mask material. | |
====Material1==== | ====Material1==== | ||
Line 38: | Line 37: | ||
'''[[Variables#Modifiers|Modifiers]]:''' editinlineuse | '''[[Variables#Modifiers|Modifiers]]:''' editinlineuse | ||
− | + | The first material. | |
====Material2==== | ====Material2==== | ||
Line 45: | Line 44: | ||
'''[[Variables#Modifiers|Modifiers]]:''' editinlineuse | '''[[Variables#Modifiers|Modifiers]]:''' editinlineuse | ||
− | + | The second material. | |
====Modulate2X==== | ====Modulate2X==== | ||
Line 61: | Line 60: | ||
'''Type:''' [[int]] | '''Type:''' [[int]] | ||
− | + | <!-- enter variable description --> | |
− | + | <noinclude> | |
===Default values=== | ===Default values=== | ||
{| class="list defaults" | {| class="list defaults" | ||
Line 71: | Line 70: | ||
| 2 | | 2 | ||
|} | |} | ||
− | + | </noinclude> | |
==Enums== | ==Enums== | ||
====EAlphaOperation==== | ====EAlphaOperation==== | ||
− | + | How to calculate the combiner's alpha channel. | |
− | ; AO_Use_Mask : | + | ; AO_Use_Mask : Use the alpha channel of the {{tl|Mask}}. |
− | ; AO_Multiply : | + | ; AO_Multiply : Multiply the alpha channels of {{tl|Material1}} and {{tl|Material2}}. |
− | ; AO_Add : | + | ; AO_Add : Add the alpha channels of Material1 and Material2. |
− | ; AO_Use_Alpha_From_Material1 : | + | ; AO_Use_Alpha_From_Material1 : Use the alpha channel of Material1. |
− | ; AO_Use_Alpha_From_Material2 : | + | ; AO_Use_Alpha_From_Material2 : Use the alpha channel of Material2. |
====EColorOperation==== | ====EColorOperation==== | ||
− | + | How to calculate the combiner's RGB channels. | |
− | ; CO_Use_Color_From_Material1 : | + | ; CO_Use_Color_From_Material1 : Use the RGB channels from {{tl|Material1}}. |
− | ; CO_Use_Color_From_Material2 : | + | ; CO_Use_Color_From_Material2 : Use the RGB channels from {{tl|Material2}}. |
− | ; CO_Multiply : | + | ; CO_Multiply : Add the RGB channels of Material1 and Material2. |
− | ; CO_Add : | + | ; CO_Add : Add the RGB channels of Material1 and Material2. |
− | ; CO_Subtract : | + | ; CO_Subtract : Subtracts the RGB channel of Material1 from Material2. |
− | ; CO_AlphaBlend_With_Mask : | + | ; CO_AlphaBlend_With_Mask : Blends Material1 with Material2 using the alpha channel of {{tl|Mask}}. |
; CO_Add_With_Mask_Modulation : <!-- enter enum value description --> | ; CO_Add_With_Mask_Modulation : <!-- enter enum value description --> | ||
− | ; CO_Use_Color_From_Mask : | + | ; CO_Use_Color_From_Mask : Use the RGB channels from Mask. |
Latest revision as of 07:20, 14 July 2010
Contents
- Package:
- Engine
- This class in other games:
- UT2003, U2, U2XMP, UE2Runtime
Please help improve this article or section by expanding it. |
Properties[edit]
Property group 'Combiner'[edit]
AlphaOperation[edit]
Type: EAlphaOperation
How to calculate the alpha channel of the combiner.
Default value: AO_Use_Mask
CombineOperation[edit]
Type: EColorOperation
How to calculate the RGB channel of the combiner.
InvertMask[edit]
Type: bool
Whether the alpha channel of the Mask should be inverted.
Mask[edit]
Type: Material
Modifiers: editinlineuse
The mask material.
Material1[edit]
Type: Material
Modifiers: editinlineuse
The first material.
Material2[edit]
Type: Material
Modifiers: editinlineuse
The second material.
Modulate2X[edit]
Type: bool
Modulate4X[edit]
Type: bool
Internal variables[edit]
combiner_dummy[edit]
Type: int
Default values[edit]
Property | Value |
---|---|
MaterialType | 2 |
Enums[edit]
EAlphaOperation[edit]
How to calculate the combiner's alpha channel.
- AO_Use_Mask
- Use the alpha channel of the Mask.
- AO_Multiply
- Multiply the alpha channels of Material1 and Material2.
- AO_Add
- Add the alpha channels of Material1 and Material2.
- AO_Use_Alpha_From_Material1
- Use the alpha channel of Material1.
- AO_Use_Alpha_From_Material2
- Use the alpha channel of Material2.
EColorOperation[edit]
How to calculate the combiner's RGB channels.
- CO_Use_Color_From_Material1
- Use the RGB channels from Material1.
- CO_Use_Color_From_Material2
- Use the RGB channels from Material2.
- CO_Multiply
- Add the RGB channels of Material1 and Material2.
- CO_Add
- Add the RGB channels of Material1 and Material2.
- CO_Subtract
- Subtracts the RGB channel of Material1 from Material2.
- CO_AlphaBlend_With_Mask
- Blends Material1 with Material2 using the alpha channel of Mask.
- CO_Add_With_Mask_Modulation
- CO_Use_Color_From_Mask
- Use the RGB channels from Mask.