EntityRenderMode()

Syntax

EntityRenderMode(#Entity, Mode)
Description
Changes the render mode of the specified #Entity.

The 'Mode' parameter can be a combination (using the '|' operator) of the following values:
  #PB_Entity_Solid      : The entity is displayed with textures in solid mode (default)
  #PB_Entity_Wireframe  : The entity is displayed only with lines (lines are drawn between vertices)
  #PB_Entity_Plot       : The entity is displayed only with plots (only one plot per vertex)
  #PB_Entity_CastShadow : The entity casts shadow if the WorldShadows() has been activated (default)

Supported OS

Windows, Linux

<- EntityPhysicBody() - Entity Index - EntityX() ->