SwiftextensionRealityFoundation

extension RealityKit.DirectionalLightComponent.Shadow

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 11

  1. initinit(_proto_v1_layers: Set<String>?) -> RealityKit.DirectionalLightComponent.Shadow
  2. initinit(shadowProjection: RealityKit.DirectionalLightComponent.Shadow.ShadowProjectionType, depthBias: Float, cullMode: RealityFoundation.MaterialParameterTypes.FaceCulling?) -> RealityKit.DirectionalLightComponent.Shadow
  3. initinit(layers: RealityFoundation.RenderLayer.Set?) -> RealityKit.DirectionalLightComponent.Shadow
  4. varvar _proto_shadowCascades_v1: RealityKit.DirectionalLightComponent.Shadow._Proto_ShadowCascades_v1 { get set }
  5. varvar _proto_v1_layers: Set<String>? { get set }
  6. varvar cascades: RealityKit.DirectionalLightComponent.Shadow.Cascades { get set }
  7. varvar cullModeOverride: RealityFoundation.MaterialParameterTypes.FaceCulling? { get set }
  8. varvar customMirror: Mirror { get }
  9. varvar layers: RealityFoundation.RenderLayer.Set? { get set }
  10. varvar quality: RealityKit.DirectionalLightComponent.Shadow.ShadowQuality { get set }
  11. varvar shadowProjection: RealityKit.DirectionalLightComponent.Shadow.ShadowProjectionType { get set }
extension RealityKit.DirectionalLightComponent.Shadow {
    enum ShadowQuality {
        case default
        case high
        case veryHigh
    }
    enum ShadowProjectionType {
        case fixed(zNear: Swift.Float, zFar: Swift.Float, orthographicScale: Swift.Float)
        case automatic(maximumDistance: Swift.Float)
    }
    enum _Proto_ShadowCascades_v1 {
        case fixed(Swift.UInt8, bias: Swift.Float)
        case automatic
    }
    struct Cascades {
        var cascadeCount: Swift.Int
        var cascadesBias: Swift.Float

        static var automatic: RealityKit.DirectionalLightComponent.Shadow.Cascades {
            get
        }

        static func fixed(_: Swift.Int, bias: Swift.Float) -> RealityKit.DirectionalLightComponent.Shadow.Cascades
    }
    init(_proto_v1_layers: Swift.Set<Swift.String>?)
    init(shadowProjection: RealityKit.DirectionalLightComponent.Shadow.ShadowProjectionType, depthBias: Swift.Float, cullMode: RealityFoundation.MaterialParameterTypes.FaceCulling?)
    init(layers: RealityFoundation.RenderLayer.Set?)

    var _proto_shadowCascades_v1: RealityKit.DirectionalLightComponent.Shadow._Proto_ShadowCascades_v1 {
        get
        set
    }
    var _proto_v1_layers: Swift.Set<Swift.String>? {
        get
        set
    }
    var cascades: RealityKit.DirectionalLightComponent.Shadow.Cascades {
        get
        set
    }
    var cullModeOverride: RealityFoundation.MaterialParameterTypes.FaceCulling? {
        get
        set
    }
    var customMirror: Swift.Mirror {
        get
    }
    var layers: RealityFoundation.RenderLayer.Set? {
        get
        set
    }
    var quality: RealityKit.DirectionalLightComponent.Shadow.ShadowQuality {
        get
        set
    }
    var shadowProjection: RealityKit.DirectionalLightComponent.Shadow.ShadowProjectionType {
        get
        set
    }
}