class_geometryinstance - vkbsb/godot GitHub Wiki
GeometryInstance
####Inherits: VisualInstance ####Category: Core
Brief Description
Base node for geometry based visual instances.
Member Functions
- void set_material_override ( Object material )
- Object get_material_override ( ) const
- void set_flag ( int flag, bool value )
- bool get_flag ( int flag ) const
- void set_draw_range_begin ( float mode )
- float get_draw_range_begin ( ) const
- void set_draw_range_end ( float mode )
- float get_draw_range_end ( ) const
- void set_baked_light_texture_id ( int id )
- int get_baked_light_texture_id ( ) const
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
set_material_override
- void set_material_override ( Object material )
Set the material override for the whole geometry.
get_material_override
- Object get_material_override ( ) const
Return the material override for the whole geometry.