we
    Preparing search index...

    用户自定义功能接口的update interface

    interface IV_DirectionalLight {
        angle?: number;
        angleOut?: number;
        color?: weVec3;
        decay?: number;
        direction: weVec3;
        distance?: number;
        intensity: number;
        name?: string;
        position?: weVec3;
        shadow?: boolean;
        size?: number;
        update?: (scope: any) => any;
        updateAtEnd?: (scope: any) => any;
        visible?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    angle?: number

    角度(内切): 聚光灯需要 angle(in): spot light need

    angleOut?: number

    角度外切: 聚光灯需要 angleOut: spot light need

    color?: weVec3

    颜色 color

    decay?: number

    decay 衰减因子,待定

    direction: weVec3

    方向: 方向光源和聚光灯需要 direction: direction light and spot light need

    distance?: number

    光的可视距离 0.0=无限远

    intensity: number

    光的强度 ,wgsl,不受距离与立体角影响 默认=1.0

    name?: string
    position?: weVec3

    位置 position

    shadow?: boolean

    阴影 shadow

    size?: number

    大小 size

    update?: (scope: any) => any

    自定义更新functon()

    updateAtEnd?: (scope: any) => any

    在最后执行调用

    visible?: boolean

    可见性,目前看没有意义,保留

    visibility,