Matrix1 Utility Plug-ins

GET LIMB TEXTURE BLEND MODE


Syntax

Blend Mode = GET LIMB TEXTURE BLEND MODE( Object number, Limb number, Texture Stage )

Description

Returns the blend mode of the texture stage for the limb.

The safe blend modes are defined within the DirectX documentation and have a prefix of D3DTOP.

Constants for allowable blend modes:
#constant D3DTOP_DISABLE = 1
#constant D3DTOP_SELECTARG1 = 2
#constant D3DTOP_SELECTARG2 = 3
#constant D3DTOP_MODULATE = 4
#constant D3DTOP_MODULATE2X = 5
#constant D3DTOP_MODULATE4X = 6
#constant D3DTOP_ADD = 7
#constant D3DTOP_ADDSIGNED = 8
#constant D3DTOP_ADDSIGNED2X = 9
#constant D3DTOP_SUBTRACT = 10
#constant D3DTOP_ADDSMOOTH = 11
#constant D3DTOP_BLENDDIFFUSEALPHA = 12
#constant D3DTOP_BLENDTEXTUREALPHA = 13
#constant D3DTOP_BLENDFACTORALPHA = 14
#constant D3DTOP_BLENDTEXTUREALPHAPM = 15
#constant D3DTOP_BLENDCURRENTALPHA = 16
#constant D3DTOP_PREMODULATE = 17
#constant D3DTOP_MODULATEALPHA_ADDCOLOR = 18
#constant D3DTOP_MODULATECOLOR_ADDALPHA = 19
#constant D3DTOP_MODULATEINVALPHA_ADDCOLOR = 20
#constant D3DTOP_MODULATEINVCOLOR_ADDALPHA = 21
#constant D3DTOP_BUMPENVMAP = 22
#constant D3DTOP_BUMPENVMAPLUMINANCE = 23
#constant D3DTOP_DOTPRODUCT3 = 24
#constant D3DTOP_MULTIPLYADD = 25
#constant D3DTOP_LERP = 26

Go back to ...

Matrix1Util_12 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011