forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_geometryinstance
Lukas Sägesser edited this page Jun 22, 2015
·
13 revisions
####Inherits: VisualInstance ####Category: Core
Base node for geometry based visual instances.
- 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
- void set_extra_cull_margin ( float margin )
- float get_extra_cull_margin ( ) const
- 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
Base node for geometry based visual instances. Shares some common functionality like visibility and custom materials.
- 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.