SteamVR/Environments/Scripting/API/CBaseModelEntity.SetRenderAlpha: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "== Function Description == ''' void SetRenderAlpha( int ) ''' ''SetRenderAlpha( int ): Sets the FX amount (0 - 255) on entity.'' ;Example <source lang="lua"> function CBa...")
 
Line 5: Line 5:


''SetRenderAlpha( int ): Sets the FX amount (0 - 255) on entity.''
''SetRenderAlpha( int ): Sets the FX amount (0 - 255) on entity.''
 
''0 = invisible, 255 = opaque''


;Example
;Example

Revision as of 08:01, 28 May 2020

Function Description

void SetRenderAlpha( int )

SetRenderAlpha( int ): Sets the FX amount (0 - 255) on entity. 0 = invisible, 255 = opaque

Example
function CBaseModelEntity:SetRenderAlpha( int ) end