Skip to content

class_geometryinstance

Lukas Sägesser edited this page Jun 22, 2015 · 13 revisions

GeometryInstance

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

Brief Description

Base node for geometry based visual instances.

Member Functions

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 = 8

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.

Clone this wiki locally