@@ -627,6 +627,7 @@ export const componentDefinitionByName: {
627627 " core::GltfContainer" : LwwComponentGetter <LastWriteWinElementSetComponentDefinition <PBGltfContainer >>;
628628 " core::GltfContainerLoadingState" : LwwComponentGetter <LastWriteWinElementSetComponentDefinition <PBGltfContainerLoadingState >>;
629629 " core::InputModifier" : LwwComponentGetter <LastWriteWinElementSetComponentDefinition <PBInputModifier >>;
630+ " core::LightSource" : LwwComponentGetter <LastWriteWinElementSetComponentDefinition <PBLightSource >>;
630631 " core::MainCamera" : LwwComponentGetter <LastWriteWinElementSetComponentDefinition <PBMainCamera >>;
631632 " core::Material" : LwwComponentGetter <LastWriteWinElementSetComponentDefinition <PBMaterial >>;
632633 " core::MeshCollider" : LwwComponentGetter <LastWriteWinElementSetComponentDefinition <PBMeshCollider >>;
@@ -1556,6 +1557,24 @@ export interface LastWriteWinElementSetComponentDefinition<T> extends BaseCompon
15561557 getOrNull(entity : Entity ): DeepReadonly <T > | null ;
15571558}
15581559
1560+ // Warning: (ae-missing-release-tag) "LightSource" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1561+ //
1562+ // @public (undocumented)
1563+ export const LightSource: LightSourceComponentDefinitionExtended ;
1564+
1565+ // @public (undocumented)
1566+ export interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition <PBLightSource > {
1567+ Type: LightSourceHelper ;
1568+ }
1569+
1570+ // @public (undocumented)
1571+ export interface LightSourceHelper {
1572+ // (undocumented)
1573+ Point: (point : PBLightSource_Point ) => PBLightSource [' type' ];
1574+ // (undocumented)
1575+ Spot: (spot : PBLightSource_Spot ) => PBLightSource [' type' ];
1576+ }
1577+
15591578// @public
15601579export type Listeners = {
15611580 onMouseDown? : Callback ;
@@ -2404,6 +2423,66 @@ export namespace PBInputModifier_StandardInput {
24042423 export function encode(message : PBInputModifier_StandardInput , writer ? : _m0 .Writer ): _m0 .Writer ;
24052424}
24062425
2426+ // @public (undocumented)
2427+ export interface PBLightSource {
2428+ active? : boolean | undefined ;
2429+ brightness? : number | undefined ;
2430+ color? : PBColor3 | undefined ;
2431+ range? : number | undefined ;
2432+ // (undocumented)
2433+ type? : {
2434+ $case: " point" ;
2435+ point: PBLightSource_Point ;
2436+ } | {
2437+ $case: " spot" ;
2438+ spot: PBLightSource_Spot ;
2439+ } | undefined ;
2440+ }
2441+
2442+ // @public (undocumented)
2443+ export namespace PBLightSource {
2444+ // (undocumented)
2445+ export function decode(input : _m0 .Reader | Uint8Array , length ? : number ): PBLightSource ;
2446+ // (undocumented)
2447+ export function encode(message : PBLightSource , writer ? : _m0 .Writer ): _m0 .Writer ;
2448+ }
2449+
2450+ // @public (undocumented)
2451+ export interface PBLightSource_Point {
2452+ shadow? : PBLightSource_ShadowType | undefined ;
2453+ }
2454+
2455+ // @public (undocumented)
2456+ export namespace PBLightSource_Point {
2457+ // (undocumented)
2458+ export function decode(input : _m0 .Reader | Uint8Array , length ? : number ): PBLightSource_Point ;
2459+ // (undocumented)
2460+ export function encode(message : PBLightSource_Point , writer ? : _m0 .Writer ): _m0 .Writer ;
2461+ }
2462+
2463+ // @public (undocumented)
2464+ export const enum PBLightSource_ShadowType {
2465+ ST_HARD = 2 ,
2466+ ST_NONE = 0 ,
2467+ ST_SOFT = 1
2468+ }
2469+
2470+ // @public (undocumented)
2471+ export interface PBLightSource_Spot {
2472+ innerAngle? : number | undefined ;
2473+ outerAngle? : number | undefined ;
2474+ shadow? : PBLightSource_ShadowType | undefined ;
2475+ shadowMaskTexture? : TextureUnion | undefined ;
2476+ }
2477+
2478+ // @public (undocumented)
2479+ export namespace PBLightSource_Spot {
2480+ // (undocumented)
2481+ export function decode(input : _m0 .Reader | Uint8Array , length ? : number ): PBLightSource_Spot ;
2482+ // (undocumented)
2483+ export function encode(message : PBLightSource_Spot , writer ? : _m0 .Writer ): _m0 .Writer ;
2484+ }
2485+
24072486// @public (undocumented)
24082487export interface PBMainCamera {
24092488 virtualCameraEntity? : number | undefined ;
0 commit comments