SceneObject class/Blending.Function.Source property

From LabVIEW Wiki
Jump to: navigation, search
VI Server Property Information
Property ID 2D877825
Scope Basic Development Environment
Data Name Blending.Function.Source
Short Name* Blending.Function.Source
Long Name* Blending:Function:Source
* Displayed here in English. Short and Long names appear in the language of the LabVIEW IDE.
Owning Class ID 105
Owning Class Name SceneObject Class
Data Type Enum U16 data type

Enum U16

Property Node Blending:Function:Source
Available in Real-Time Operating SystemNo
Available in Run-Time EngineYes
Loads the block diagram into memoryNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Remote access allowedYes
Settable when the VI is runningYes

Reads or writes the blend factor you apply to the color values of the incoming fragment.

The following source and destination color components are described as (Rs, Gs, Bs, As) for source components and (Rd, Gd, Bd, Ad) for destination components.

The components have integer values between 0 and (kR, kG, kB, kA), where kR=2mR 1, kG=2mG 1, kB=2mB 1, and kA=2mA 1.

(mR, mG, mB, mA) is the number of bitplanes for each red, green, blue, and alpha value.

0 Zero— (default) (0, 0, 0, 0)
1 One—(1, 1, 1, 1)
2 Destination Color—(Rd/kR, Gd/kG, Bd/kB, Ad/kA)
3 One Minus Destination Color—(1, 1, 1, 1)−(Rd/kR, Gd/kG, Bd/kB, Ad/kA)
4 Source Alpha—(As/kA, As/kA, As/kA, As/kA)
5 One Minus Source Alpha—(1, 1, 1, 1)−(As/kA, As/kA, As/kA, As/kA)
6 Destination Alpha—(Ad/kA, Ad/kA, Ad/kA, Ad/kA)
7 One Minus Destination Alpha—(1, 1, 1, 1)−(Ad/kA, Ad/kA, Ad/kA, Ad/kA)
8 Source Alpha Saturate—(i, i, i, 1) where i=min (As, kA, Ad)/kA



Version Change(s)
LabVIEW 2018 More info to come.

See Also

External Links