|AABB||get_aabb ( ) const|
|AABB||get_transformed_aabb ( ) const|
|void||set_base ( RID base )|
- int layers - The render layer(s) this VisualInstance is drawn on.
This object will only be visible for Cameras whose cull mask includes the render object this VisualInstance is set to.
Member Function Description¶
- AABB get_aabb ( ) const
Returns the AABB (also known as the bounding box) for this VisualInstance.
- AABB get_transformed_aabb ( ) const
Returns the transformed AABB (also known as the bounding box) for this VisualInstance.
- void set_base ( RID base )
Sets the base of the VisualInstance, which changes how the engine handles the VisualInstance under the hood.
It is recommended to only use set_base if you know what you’re doing.