-
Notifications
You must be signed in to change notification settings - Fork 0
class_geometryinstance
reduz edited this page Feb 23, 2014
·
12 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( real mode ) -
real
get_draw_range_begin( ) const - void
set_draw_range_end( real mode ) -
real
get_draw_range_end( ) const
-
visibility_changed( )
- 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
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.