bitbybit.dev v1.0.0-rc.1
    Preparing search index...
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalmaterial: SkyMaterial
      • OptionalcameraOffset: Vector3

      Returns CameraOffsetDto

    Properties

    material: SkyMaterial

    Material to update

    undefined
    
    cameraOffset?: Vector3

    Defines an offset vector used to get a horizon offset.

    skyMaterial.cameraOffset.y = camera.globalPosition.y // Set horizon relative to 0 on the Y axis
    
    undefined