docs.unity.cn
    Show / Hide Table of Contents

    Enum WorldSystemFilterFlags

    For internal use only.

    Namespace: Unity.Entities
    Syntax
    [Flags]
    public enum WorldSystemFilterFlags : uint
    Remarks

    Defines where internal Unity systems should be created. The existence of these flags and the specialized Worlds they represent are subject to change.

    Fields

    Name Description Value
    Default

    When specifying the Default flag on a [WorldSystemFilter] the flag will be removed and expand to what was specified as ChildDefaultFilterFlags by the group the system is in. This means the Default flag will never be set when querying a system for its flags. If the system does not have a [UpdateInGroup] the system will be in the SimulationSystemGroup and get the ChildDefaultFilterFlags from that group. When creating a world - or calling GetSystems directly - default expands to LocalSimulation | Presentation to create a standard single player world.


    1
    Disabled

    Systems explicitly disabled via the [DisableAutoCreation] attribute are by default placed in this world.


    2
    EntitySceneOptimizations

    A specialized World created for optimizing scene rendering.


    4
    ProcessAfterLoad

    A specialized World created for processing a scene after load.


    8
    Editor

    The main World created when running in the Editor. Example: Editor LiveConversion system


    64
    BakingSystem

    Baking systems running after the BakingSystem system responsible from baking GameObjects to entities.


    128
    LocalSimulation

    Worlds using local simulation, without any multiplayer client / server support.


    256
    ServerSimulation

    Worlds using server simulation.


    512
    ClientSimulation

    Worlds using client simulation.


    1024
    ThinClientSimulation

    Worlds using thin client simulation. A thin client is a client running the bare minimum set of systems to connect to and communicate with a server. It does not run the full simulation and cannot generally present the simulation state.


    2048
    Presentation

    Worlds presenting a rendered world.


    4096
    Streaming

    Worlds supporting streaming


    8192
    All

    Flag to include all system groups defined above as well as systems decorated with [DisableAutoCreation].


    4294967295
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023