Skip to main content

Interface: IWSDKEnvironmentPortOptions

Defined in: packages/iwsdk-environment/src/environment-port.ts:62

Extended by

Properties

PropertyModifierTypeDescriptionDefined in
occludables?readonly() => Iterable<Entity>Which entities the real world is allowed to hide, for scope: "all". IWSDK opts entities INTO occlusion one at a time, by patching the materials under each one, so somebody has to say which entities those are. It cannot be this port: the entities are content, content is the app's, and walking a scene graph looking for meshes would be this package guessing at the app's structure. With no list, scope: "all" reports unavailable and says why. An app that would rather tag its own entities uses scope: "tagged" and adds DepthOccludable itself; then this port only configures the system.packages/iwsdk-environment/src/environment-port.ts:84
parent?readonlyEntityWhere the light entities are parented. Defaults to the active level root, which is also where the dome lives, so the whole environment is torn down with the level.packages/iwsdk-environment/src/environment-port.ts:68
skyIntensity?readonlynumberDome brightness multiplier, used when a sky does not name its own. Default 1.packages/iwsdk-environment/src/environment-port.ts:70