Skip to content

Emit event when visible changed #32767

@DennisSmolek

Description

@DennisSmolek

Description

We have events that fire when an object has children added/removed, or it moves around itself, but it would be great if we fired a event when the visibility of an object changes.

Right now we have to query the entire scene every frame which is less performant.

Solution

Add a visibilty event to objects

Alternatives

Traverse the scene every frame and check objects current status against a registry of it's last status

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions