Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.93 KB

class_geometryinstance.md

File metadata and controls

44 lines (34 loc) · 1.93 KB

GeometryInstance

####Inherits: VisualInstance ####Category: Core

Brief Description

Base node for geometry based visual instances.

Member Functions

Signals

  • visibility_changed ( )

Numeric Constants

  • FLAG_VISIBLE = 0
  • FLAG_CAST_SHADOW = 3
  • FLAG_RECEIVE_SHADOWS = 4
  • FLAG_BILLBOARD = 1
  • FLAG_BILLBOARD_FIX_Y = 2
  • FLAG_DEPH_SCALE = 5
  • FLAG_VISIBLE_IN_ALL_ROOMS = 6
  • FLAG_MAX = 7

Description

Base node for geometry based visual instances. Shares some common functionality like visibility and custom materials.

Member Function Description

  • void set_material_override ( Object material )

Set the material override for the whole geometry.

  • Object get_material_override ( ) const

Return the material override for the whole geometry.