W-CF Documentation - v11.0.0
    Preparing search index...
    Index
    defaultMaterial: PbrMaterial
    pbrImageProcessing: ImageProcessingConfiguration
    • get customEnvironmentUrl(): string | null

      Url of a custom environment map/reflection texture which will be used instead of the predefined ones. Only BabylonJs .env files are suppoted. If defined the environmentMode will be ignored.

      Returns string | null

    • set customEnvironmentUrl(pUrl: string | null): void

      Parameters

      • pUrl: string | null

      Returns void

    • get environmentMode(): EnvironmentMode

      The environment mode controls which environment map/reflection texture will be used for PBR materials. Default = defaultHDR_512.env Planning = planningHDR_512.env

      Returns EnvironmentMode

    • set environmentMode(pMode: EnvironmentMode): void

      Parameters

      Returns void

    • get scene(): Scene

      Returns Scene

    • Parameters

      Returns boolean

    • Returns void

    • Creates a persistent texture. If a container is given, the url should be a path to a texture inside the container.

      Parameters

      • pId: string
      • pUrl: string
      • pHasAlpha: boolean = false
      • OptionalpContainer: DocumentContainer

      Returns Promise<Texture>

    • Creates a runtime only texture.

      Parameters

      • pId: string
      • pUrl: string
      • pHasAlpha: boolean = false

      Returns Texture

    • Returns CubeTexture

    • Parameters

      • pId: string

      Returns Texture | null

    • Parameters

      • pId: string

      Returns boolean

    • Parameters

      • pId: string

      Returns boolean

    • Returns Promise<void>