DxGetBlendMode

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function DxGetBlendMode needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.


This function returns the current blend mode for the dxDraw functions. The blend mode is set using dxSetBlendMode

Syntax

string dxGetBlendMode ( )

Returns

Returns the current blend mode, which can be one of:

  • blend
  • add
  • modulate_add
  • overwrite

Example

addCommandHandler("myBlendMode", function()
    outputChatBox( dxGetBlendMode() )
end)

Requirements

This template will be deleted.

See Also