VisualInstance

    Inherited By: , CSGShape, , GeometryInstance, , ReflectionProbe,

    Category: Core

    This object will only be visible for s whose cull mask includes the render object this VisualInstance is set to.

    • AABB get_aabb ( ) const

    Returns the (also known as the bounding box) for this VisualInstance.



    • RID get_instance ( ) const

    • get_layer_mask_bit ( int layer ) const

    • get_transformed_aabb ( ) const

    Transformed in this case means the AABB plus the position, rotation, and scale of the s Transform


    Sets the base of the VisualInstance, which changes how the engine handles the VisualInstance under the hood.


    • void set_layer_mask_bit ( layer, bool enabled )