Category

public enum Category : UInt32, CaseIterable, Codable

The scene uses three categories of lighting which are: Main light, Back light and Rim light. These lights are directional lights.

The properties of all lights have an impact on the shading of 3D objects, for instance, extruded buildings within the scene. However, shadow casting is only affected by the direction of the main light.

Category primarily serves as an identifier type for managing the lights.

  • Main light

    Declaration

    Swift

    case main
  • Back light

    Declaration

    Swift

    case back
  • rim

    Rim light

    Declaration

    Swift

    case rim