@dcl/playground-assets 7.8.13-15763545866.commit-79cf4a4 → 7.8.13-15848547771.commit-db2ca6f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/alpha.d.ts +11 -774
- package/dist/beta.d.ts +11 -774
- package/dist/index.bundled.d.ts +11 -774
- package/dist/index.js +7 -7
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/apis.d.ts +0 -12
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +11 -774
- package/etc/playground-assets.api.json +1764 -9333
- package/etc/playground-assets.api.md +3 -499
- package/package.json +4 -4
|
@@ -178,31 +178,11 @@ export declare const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBA
|
|
|
178
178
|
/** @public */
|
|
179
179
|
export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
|
|
180
180
|
|
|
181
|
-
/**
|
|
182
|
-
* @public
|
|
183
|
-
*/
|
|
184
|
-
export declare const enum AvatarControlType {
|
|
185
|
-
/** CCT_NONE - avatar cannot move */
|
|
186
|
-
CCT_NONE = 0,
|
|
187
|
-
/** CCT_RELATIVE - avatar moves relative to the camera origin */
|
|
188
|
-
CCT_RELATIVE = 1,
|
|
189
|
-
/** CCT_TANK - avatar moves like a tank: left/right rotate the player, forward/backward advance/retreat the player */
|
|
190
|
-
CCT_TANK = 2
|
|
191
|
-
}
|
|
192
|
-
|
|
193
181
|
/** @public */
|
|
194
182
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
195
183
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
/**
|
|
199
|
-
* @public
|
|
200
|
-
*/
|
|
201
|
-
export declare type AvatarEquippedDataComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarEquippedDataType>;
|
|
202
|
-
|
|
203
|
-
export declare type AvatarEquippedDataType = Omit<PBAvatarEquippedData, 'forceRender'> & {
|
|
204
|
-
forceRender?: string[] | undefined;
|
|
205
|
-
};
|
|
184
|
+
/** @public */
|
|
185
|
+
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
206
186
|
|
|
207
187
|
/** @public */
|
|
208
188
|
export declare const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>;
|
|
@@ -218,47 +198,8 @@ export declare const enum AvatarModifierType {
|
|
|
218
198
|
AMT_DISABLE_PASSPORTS = 1
|
|
219
199
|
}
|
|
220
200
|
|
|
221
|
-
/**
|
|
222
|
-
|
|
223
|
-
*/
|
|
224
|
-
export declare interface AvatarMovementSettings {
|
|
225
|
-
controlMode?: AvatarControlType | undefined;
|
|
226
|
-
/** if not explicitly set, the following properties default to user's preference settings */
|
|
227
|
-
runSpeed?: number | undefined;
|
|
228
|
-
/** how fast the player gets up to speed or comes to rest. higher = more responsive */
|
|
229
|
-
friction?: number | undefined;
|
|
230
|
-
/** how fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative */
|
|
231
|
-
gravity?: number | undefined;
|
|
232
|
-
/** how high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible */
|
|
233
|
-
jumpHeight?: number | undefined;
|
|
234
|
-
/** max fall speed in m/s. should normally be negative */
|
|
235
|
-
maxFallSpeed?: number | undefined;
|
|
236
|
-
/** speed the player turns in tank mode, in radians/s */
|
|
237
|
-
turnSpeed?: number | undefined;
|
|
238
|
-
/** speed the player walks at, in m/s */
|
|
239
|
-
walkSpeed?: number | undefined;
|
|
240
|
-
/** whether to allow player to move at a slower speed (e.g. with a walk-key or when using a gamepad/joystick). defaults to true */
|
|
241
|
-
allowWeightedMovement?: boolean | undefined;
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
/**
|
|
245
|
-
* @public
|
|
246
|
-
*/
|
|
247
|
-
export declare namespace AvatarMovementSettings {
|
|
248
|
-
export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
|
|
249
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
export declare const AvatarShape: AvatarShapeComponentDefinitionExtended;
|
|
253
|
-
|
|
254
|
-
/**
|
|
255
|
-
* @public
|
|
256
|
-
*/
|
|
257
|
-
export declare type AvatarShapeComponentDefinitionExtended = LastWriteWinElementSetComponentDefinition<AvatarShapeType>;
|
|
258
|
-
|
|
259
|
-
export declare type AvatarShapeType = Omit<PBAvatarShape, 'forceRender'> & {
|
|
260
|
-
forceRender?: string[] | undefined;
|
|
261
|
-
};
|
|
201
|
+
/** @public */
|
|
202
|
+
export declare const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
|
|
262
203
|
|
|
263
204
|
/**
|
|
264
205
|
* @public
|
|
@@ -532,12 +473,6 @@ export declare interface ByteBuffer {
|
|
|
532
473
|
*/
|
|
533
474
|
export declare type Callback = () => void;
|
|
534
475
|
|
|
535
|
-
/** @public */
|
|
536
|
-
export declare const CameraLayer: LastWriteWinElementSetComponentDefinition<PBCameraLayer>;
|
|
537
|
-
|
|
538
|
-
/** @public */
|
|
539
|
-
export declare const CameraLayers: LastWriteWinElementSetComponentDefinition<PBCameraLayers>;
|
|
540
|
-
|
|
541
476
|
/** @public */
|
|
542
477
|
export declare const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>;
|
|
543
478
|
|
|
@@ -595,39 +530,6 @@ export declare const enum CameraType {
|
|
|
595
530
|
|
|
596
531
|
export declare type Children = ReactEcs.JSX.ReactNode;
|
|
597
532
|
|
|
598
|
-
/**
|
|
599
|
-
* @public
|
|
600
|
-
*/
|
|
601
|
-
export declare interface CinematicSettings {
|
|
602
|
-
/** Entity that defines the cinematic camera transform. */
|
|
603
|
-
cameraEntity: number;
|
|
604
|
-
/**
|
|
605
|
-
* Position -> camera's position
|
|
606
|
-
* Rotation -> camera's direction
|
|
607
|
-
* scale.z -> zoom level
|
|
608
|
-
* scale.x and scale.y -> unused
|
|
609
|
-
*/
|
|
610
|
-
allowManualRotation?: boolean | undefined;
|
|
611
|
-
/** how far the camera can rotate around the y-axis / look left/right, in radians. default unrestricted */
|
|
612
|
-
yawRange?: number | undefined;
|
|
613
|
-
/** how far the camera can rotate around the x-axis / look up-down, in radians. default unrestricted */
|
|
614
|
-
pitchRange?: number | undefined;
|
|
615
|
-
/** note: cameras can never look up/down further than Vec3::Y */
|
|
616
|
-
rollRange?: number | undefined;
|
|
617
|
-
/** minimum zoom level. must be greater than 0. defaults to the input zoom level */
|
|
618
|
-
zoomMin?: number | undefined;
|
|
619
|
-
/** maximum zoom level. must be greater than 0. defaults to the input zoom level */
|
|
620
|
-
zoomMax?: number | undefined;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
/**
|
|
624
|
-
* @public
|
|
625
|
-
*/
|
|
626
|
-
export declare namespace CinematicSettings {
|
|
627
|
-
export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
|
|
628
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
533
|
/** ColliderLayer determines the kind of collision to detect, in OR-able bit flag form. */
|
|
632
534
|
/**
|
|
633
535
|
* @public
|
|
@@ -1401,18 +1303,12 @@ export declare const componentDefinitionByName: {
|
|
|
1401
1303
|
"core::AvatarModifierArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarModifierArea>>;
|
|
1402
1304
|
"core::AvatarShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBAvatarShape>>;
|
|
1403
1305
|
"core::Billboard": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBBillboard>>;
|
|
1404
|
-
"core::CameraLayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayer>>;
|
|
1405
|
-
"core::CameraLayers": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraLayers>>;
|
|
1406
1306
|
"core::CameraMode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraMode>>;
|
|
1407
1307
|
"core::CameraModeArea": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBCameraModeArea>>;
|
|
1408
1308
|
"core::EngineInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBEngineInfo>>;
|
|
1409
|
-
"core::GlobalLight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGlobalLight>>;
|
|
1410
1309
|
"core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
|
|
1411
1310
|
"core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
|
|
1412
|
-
"core::GltfNode": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNode>>;
|
|
1413
|
-
"core::GltfNodeState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfNodeState>>;
|
|
1414
1311
|
"core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
|
|
1415
|
-
"core::Light": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLight>>;
|
|
1416
1312
|
"core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
|
|
1417
1313
|
"core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
|
|
1418
1314
|
"core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
|
|
@@ -1426,20 +1322,16 @@ export declare const componentDefinitionByName: {
|
|
|
1426
1322
|
"core::Raycast": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycast>>;
|
|
1427
1323
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
|
1428
1324
|
"core::RealmInfo": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRealmInfo>>;
|
|
1429
|
-
"core::Spotlight": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBSpotlight>>;
|
|
1430
1325
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
1431
|
-
"core::TextureCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextureCamera>>;
|
|
1432
1326
|
"core::Tween": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTween>>;
|
|
1433
1327
|
"core::TweenSequence": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenSequence>>;
|
|
1434
1328
|
"core::TweenState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTweenState>>;
|
|
1435
1329
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
1436
|
-
"core::UiCanvas": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvas>>;
|
|
1437
1330
|
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
1438
1331
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
1439
1332
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
1440
1333
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
1441
1334
|
"core::UiInputResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInputResult>>;
|
|
1442
|
-
"core::UiScrollResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiScrollResult>>;
|
|
1443
1335
|
"core::UiText": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiText>>;
|
|
1444
1336
|
"core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
|
|
1445
1337
|
"core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
|
|
@@ -2010,9 +1902,6 @@ export declare type EntityComponents = {
|
|
|
2010
1902
|
onMouseUp: Callback;
|
|
2011
1903
|
onMouseEnter: Callback;
|
|
2012
1904
|
onMouseLeave: Callback;
|
|
2013
|
-
onMouseDrag: Callback;
|
|
2014
|
-
onMouseDragLocked: Callback;
|
|
2015
|
-
onMouseDragEnd: Callback;
|
|
2016
1905
|
};
|
|
2017
1906
|
|
|
2018
1907
|
/** @public */
|
|
@@ -2164,9 +2053,6 @@ export declare type GlobalDirectionRaycastSystemOptions = {
|
|
|
2164
2053
|
direction?: PBVector3;
|
|
2165
2054
|
};
|
|
2166
2055
|
|
|
2167
|
-
/** @public */
|
|
2168
|
-
export declare const GlobalLight: LastWriteWinElementSetComponentDefinition<PBGlobalLight>;
|
|
2169
|
-
|
|
2170
2056
|
export declare type GlobalTargetRaycastOptions = RaycastSystemOptions & GlobalTargetRaycastSystemOptions;
|
|
2171
2057
|
|
|
2172
2058
|
export declare type GlobalTargetRaycastSystemOptions = {
|
|
@@ -2179,21 +2065,6 @@ export declare const GltfContainer: LastWriteWinElementSetComponentDefinition<PB
|
|
|
2179
2065
|
/** @public */
|
|
2180
2066
|
export declare const GltfContainerLoadingState: LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>;
|
|
2181
2067
|
|
|
2182
|
-
/** @public */
|
|
2183
|
-
export declare const GltfNode: LastWriteWinElementSetComponentDefinition<PBGltfNode>;
|
|
2184
|
-
|
|
2185
|
-
/** @public */
|
|
2186
|
-
export declare const GltfNodeState: LastWriteWinElementSetComponentDefinition<PBGltfNodeState>;
|
|
2187
|
-
|
|
2188
|
-
/**
|
|
2189
|
-
* @public
|
|
2190
|
-
*/
|
|
2191
|
-
export declare const enum GltfNodeStateValue {
|
|
2192
|
-
GNSV_PENDING = 0,
|
|
2193
|
-
GNSV_FAILED = 1,
|
|
2194
|
-
GNSV_READY = 2
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
2068
|
/**
|
|
2198
2069
|
* @public
|
|
2199
2070
|
*/
|
|
@@ -2804,9 +2675,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
|
|
|
2804
2675
|
getOrCreateMutable(entity: Entity, initialValue?: T): T;
|
|
2805
2676
|
}
|
|
2806
2677
|
|
|
2807
|
-
/** @public */
|
|
2808
|
-
export declare const Light: LastWriteWinElementSetComponentDefinition<PBLight>;
|
|
2809
|
-
|
|
2810
2678
|
/**
|
|
2811
2679
|
* User key event Listeners
|
|
2812
2680
|
* @public
|
|
@@ -2820,12 +2688,6 @@ export declare type Listeners = {
|
|
|
2820
2688
|
onMouseEnter?: Callback;
|
|
2821
2689
|
/** triggered on mouse leave event */
|
|
2822
2690
|
onMouseLeave?: Callback;
|
|
2823
|
-
/** triggered on mouse drag event */
|
|
2824
|
-
onMouseDrag?: Callback;
|
|
2825
|
-
/** triggered on mouse drag event */
|
|
2826
|
-
onMouseDragLocked?: Callback;
|
|
2827
|
-
/** triggered on mouse drag event */
|
|
2828
|
-
onMouseDragEnd?: Callback;
|
|
2829
2691
|
};
|
|
2830
2692
|
|
|
2831
2693
|
/**
|
|
@@ -3694,14 +3556,6 @@ export declare interface MeshColliderComponentDefinitionExtended extends LastWri
|
|
|
3694
3556
|
* @param colliderMask - the set of layer where the collider reacts, default: Physics and Pointer
|
|
3695
3557
|
*/
|
|
3696
3558
|
setSphere(entity: Entity, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
3697
|
-
/**
|
|
3698
|
-
* @public
|
|
3699
|
-
* Set a gltf internal mesh in the MeshCollider component
|
|
3700
|
-
* @param entity - entity to create or replace the MeshRenderer component
|
|
3701
|
-
* @param source - the path to the gltf
|
|
3702
|
-
* @param meshName - the name of the mesh in the gltf
|
|
3703
|
-
*/
|
|
3704
|
-
setGltfMesh(entity: Entity, source: string, meshName: string, colliderLayers?: ColliderLayer | ColliderLayer[]): void;
|
|
3705
3559
|
}
|
|
3706
3560
|
|
|
3707
3561
|
export declare const MeshRenderer: MeshRendererComponentDefinitionExtended;
|
|
@@ -3738,14 +3592,6 @@ export declare interface MeshRendererComponentDefinitionExtended extends LastWri
|
|
|
3738
3592
|
* @param entity - entity to create or replace the MeshRenderer component
|
|
3739
3593
|
*/
|
|
3740
3594
|
setSphere(entity: Entity): void;
|
|
3741
|
-
/**
|
|
3742
|
-
* @public
|
|
3743
|
-
* Set a gltf internal mesh in the MeshRenderer component
|
|
3744
|
-
* @param entity - entity to create or replace the MeshRenderer component
|
|
3745
|
-
* @param source - the path to the gltf
|
|
3746
|
-
* @param meshName - the name of the mesh in the gltf
|
|
3747
|
-
*/
|
|
3748
|
-
setGltfMesh(entity: Entity, source: string, meshName: string): void;
|
|
3749
3595
|
}
|
|
3750
3596
|
|
|
3751
3597
|
/**
|
|
@@ -4158,25 +4004,6 @@ export declare const onVideoEvent: Observable<{
|
|
|
4158
4004
|
totalVideoLength: number;
|
|
4159
4005
|
}>;
|
|
4160
4006
|
|
|
4161
|
-
/**
|
|
4162
|
-
* @public
|
|
4163
|
-
*/
|
|
4164
|
-
export declare interface Orthographic {
|
|
4165
|
-
/**
|
|
4166
|
-
* vertical extent of the visible range in meters
|
|
4167
|
-
* defaults to 4m
|
|
4168
|
-
*/
|
|
4169
|
-
verticalRange?: number | undefined;
|
|
4170
|
-
}
|
|
4171
|
-
|
|
4172
|
-
/**
|
|
4173
|
-
* @public
|
|
4174
|
-
*/
|
|
4175
|
-
export declare namespace Orthographic {
|
|
4176
|
-
export function encode(message: Orthographic, writer?: _m0.Writer): _m0.Writer;
|
|
4177
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Orthographic;
|
|
4178
|
-
}
|
|
4179
|
-
|
|
4180
4007
|
/**
|
|
4181
4008
|
* @public
|
|
4182
4009
|
* The overflow property controls what happens to content that is too big to fit into an area
|
|
@@ -4403,8 +4230,6 @@ export declare namespace PBAvatarEmoteCommand {
|
|
|
4403
4230
|
export declare interface PBAvatarEquippedData {
|
|
4404
4231
|
wearableUrns: string[];
|
|
4405
4232
|
emoteUrns: string[];
|
|
4406
|
-
/** slots that will render even if hidden */
|
|
4407
|
-
forceRender: string[];
|
|
4408
4233
|
}
|
|
4409
4234
|
|
|
4410
4235
|
/**
|
|
@@ -4439,9 +4264,6 @@ export declare interface PBAvatarModifierArea {
|
|
|
4439
4264
|
excludeIds: string[];
|
|
4440
4265
|
/** list of modifiers to apply */
|
|
4441
4266
|
modifiers: AvatarModifierType[];
|
|
4442
|
-
movementSettings?: AvatarMovementSettings | undefined;
|
|
4443
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
|
4444
|
-
useColliderRange?: boolean | undefined;
|
|
4445
4267
|
}
|
|
4446
4268
|
|
|
4447
4269
|
/**
|
|
@@ -4498,8 +4320,6 @@ export declare interface PBAvatarShape {
|
|
|
4498
4320
|
wearables: string[];
|
|
4499
4321
|
/** available emotes (default empty) */
|
|
4500
4322
|
emotes: string[];
|
|
4501
|
-
/** slots that will render even if hidden */
|
|
4502
|
-
forceRender: string[];
|
|
4503
4323
|
}
|
|
4504
4324
|
|
|
4505
4325
|
/**
|
|
@@ -4534,51 +4354,6 @@ export declare namespace PBBillboard {
|
|
|
4534
4354
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBBillboard;
|
|
4535
4355
|
}
|
|
4536
4356
|
|
|
4537
|
-
/**
|
|
4538
|
-
* @public
|
|
4539
|
-
*/
|
|
4540
|
-
export declare interface PBCameraLayer {
|
|
4541
|
-
/**
|
|
4542
|
-
* layer to which these settings apply. must be > 0
|
|
4543
|
-
* Layer 0 is the default "real world" layer viewed by the player and cannot be modified.
|
|
4544
|
-
*/
|
|
4545
|
-
layer: number;
|
|
4546
|
-
/** should the sun light affect this layer? default false */
|
|
4547
|
-
directionalLight?: boolean | undefined;
|
|
4548
|
-
/** should this layer show player avatars? default false */
|
|
4549
|
-
showAvatars?: boolean | undefined;
|
|
4550
|
-
/** should this layer show the sky? default false */
|
|
4551
|
-
showSkybox?: boolean | undefined;
|
|
4552
|
-
/** should this layer show distance fog? default false */
|
|
4553
|
-
showFog?: boolean | undefined;
|
|
4554
|
-
/** ambient light overrides for this layer. default -> use same as main camera */
|
|
4555
|
-
ambientColorOverride?: PBColor3 | undefined;
|
|
4556
|
-
ambientBrightnessOverride?: number | undefined;
|
|
4557
|
-
}
|
|
4558
|
-
|
|
4559
|
-
/**
|
|
4560
|
-
* @public
|
|
4561
|
-
*/
|
|
4562
|
-
export declare namespace PBCameraLayer {
|
|
4563
|
-
export function encode(message: PBCameraLayer, writer?: _m0.Writer): _m0.Writer;
|
|
4564
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayer;
|
|
4565
|
-
}
|
|
4566
|
-
|
|
4567
|
-
/**
|
|
4568
|
-
* @public
|
|
4569
|
-
*/
|
|
4570
|
-
export declare interface PBCameraLayers {
|
|
4571
|
-
layers: number[];
|
|
4572
|
-
}
|
|
4573
|
-
|
|
4574
|
-
/**
|
|
4575
|
-
* @public
|
|
4576
|
-
*/
|
|
4577
|
-
export declare namespace PBCameraLayers {
|
|
4578
|
-
export function encode(message: PBCameraLayers, writer?: _m0.Writer): _m0.Writer;
|
|
4579
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBCameraLayers;
|
|
4580
|
-
}
|
|
4581
|
-
|
|
4582
4357
|
/**
|
|
4583
4358
|
* The CameraMode component can be used to determine whether the player is using a first-person o
|
|
4584
4359
|
* third-person view.
|
|
@@ -4601,7 +4376,7 @@ export declare namespace PBCameraMode {
|
|
|
4601
4376
|
|
|
4602
4377
|
/**
|
|
4603
4378
|
* The CameraModeArea component can be attached to an Entity to define a region of space where
|
|
4604
|
-
* the player's camera mode (1st-person
|
|
4379
|
+
* the player's camera mode (1st-person or 3rd-person) is overridden.
|
|
4605
4380
|
*
|
|
4606
4381
|
* The Entity's Transform position determines the center-point of the region, while its size is
|
|
4607
4382
|
* given as a vector in the `area` property below. The Transform rotation is applied, but the scale
|
|
@@ -4611,8 +4386,6 @@ export declare namespace PBCameraMode {
|
|
|
4611
4386
|
*
|
|
4612
4387
|
* Note that, while commonly used to delineate a 2D area in a scene (hence the name), the region
|
|
4613
4388
|
* is actually a 3D volume.
|
|
4614
|
-
*
|
|
4615
|
-
* When mode is set to CtCinematic, the cinematic_settings field must also be provided.
|
|
4616
4389
|
*/
|
|
4617
4390
|
/**
|
|
4618
4391
|
* @public
|
|
@@ -4622,9 +4395,6 @@ export declare interface PBCameraModeArea {
|
|
|
4622
4395
|
area: PBVector3 | undefined;
|
|
4623
4396
|
/** the camera mode to enforce */
|
|
4624
4397
|
mode: CameraType;
|
|
4625
|
-
cinematicSettings?: CinematicSettings | undefined;
|
|
4626
|
-
/** if true, the player will be considered inside the area when they are within 0.3m of the area. default true */
|
|
4627
|
-
useColliderRange?: boolean | undefined;
|
|
4628
4398
|
}
|
|
4629
4399
|
|
|
4630
4400
|
/**
|
|
@@ -4696,39 +4466,6 @@ export declare namespace PBEngineInfo {
|
|
|
4696
4466
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBEngineInfo;
|
|
4697
4467
|
}
|
|
4698
4468
|
|
|
4699
|
-
/**
|
|
4700
|
-
* defines the global scene light settings. must be added to the scene root.
|
|
4701
|
-
* to control sunlight color, intensity, shadows etc, you can also add a PBLight to the scene root.
|
|
4702
|
-
*/
|
|
4703
|
-
/**
|
|
4704
|
-
* @public
|
|
4705
|
-
*/
|
|
4706
|
-
export declare interface PBGlobalLight {
|
|
4707
|
-
/**
|
|
4708
|
-
* the direction the directional light shines in.
|
|
4709
|
-
* default depends on time of day and explorer implementation
|
|
4710
|
-
*/
|
|
4711
|
-
direction?: PBVector3 | undefined;
|
|
4712
|
-
/**
|
|
4713
|
-
* ambient light color
|
|
4714
|
-
* default: White
|
|
4715
|
-
*/
|
|
4716
|
-
ambientColor?: PBColor3 | undefined;
|
|
4717
|
-
/**
|
|
4718
|
-
* ambient light intensity. the explorer default ambient brightness is multiplied by this non-physical quantity.
|
|
4719
|
-
* default 1
|
|
4720
|
-
*/
|
|
4721
|
-
ambientBrightness?: number | undefined;
|
|
4722
|
-
}
|
|
4723
|
-
|
|
4724
|
-
/**
|
|
4725
|
-
* @public
|
|
4726
|
-
*/
|
|
4727
|
-
export declare namespace PBGlobalLight {
|
|
4728
|
-
export function encode(message: PBGlobalLight, writer?: _m0.Writer): _m0.Writer;
|
|
4729
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGlobalLight;
|
|
4730
|
-
}
|
|
4731
|
-
|
|
4732
4469
|
/**
|
|
4733
4470
|
* GltfContainer loads a GLTF file (and any additional files packaged inside) attached to an Entity.
|
|
4734
4471
|
*
|
|
@@ -4764,25 +4501,6 @@ export declare namespace PBGltfContainer {
|
|
|
4764
4501
|
*/
|
|
4765
4502
|
export declare interface PBGltfContainerLoadingState {
|
|
4766
4503
|
currentState: LoadingState;
|
|
4767
|
-
/** all node paths in the gltf, which can be used with a GltfNode to inspect and modify the gltf contents */
|
|
4768
|
-
nodePaths: string[];
|
|
4769
|
-
/** all meshes in the gltf. unnamed meshes will be auto-assigned a name of the form `MeshX` or `MeshX/PrimitiveY` */
|
|
4770
|
-
meshNames: string[];
|
|
4771
|
-
/**
|
|
4772
|
-
* where X is the mesh index and Y is the primitive index (and there is more than 1 primitive). note this may
|
|
4773
|
-
* conflict with manually named meshes - to avoid any issues make sure all your meshes are explicitly named.
|
|
4774
|
-
*/
|
|
4775
|
-
materialNames: string[];
|
|
4776
|
-
/**
|
|
4777
|
-
* X is the material index. note this may conflict with manually named materials - to avoid any issues make
|
|
4778
|
-
* sure all your materials are explicitly named.
|
|
4779
|
-
*/
|
|
4780
|
-
skinNames: string[];
|
|
4781
|
-
/**
|
|
4782
|
-
* X is the skin index. note this may conflict with manually named skins - to avoid any issues make sure all
|
|
4783
|
-
* your skins are explicitly named.
|
|
4784
|
-
*/
|
|
4785
|
-
animationNames: string[];
|
|
4786
4504
|
}
|
|
4787
4505
|
|
|
4788
4506
|
/**
|
|
@@ -4793,77 +4511,6 @@ export declare namespace PBGltfContainerLoadingState {
|
|
|
4793
4511
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfContainerLoadingState;
|
|
4794
4512
|
}
|
|
4795
4513
|
|
|
4796
|
-
/**
|
|
4797
|
-
* a GltfNode links a scene entity with a node from within a gltf, allowing the scene to inspect it or modify it.
|
|
4798
|
-
* This component must be added to a direct child of an entity with a PBGltfContainer component, or
|
|
4799
|
-
* to a direct child of another entity with a GltfNode component, and the referenced gltf node must be a descendent of the gltf node
|
|
4800
|
-
* in the parent.
|
|
4801
|
-
* The name must match the path of one of the nodes within the Gltf. These are available on the GltfContainerLoadingState component.
|
|
4802
|
-
*
|
|
4803
|
-
* The renderer will attach a PBGltfNodeState to the entity describing the state. Once the state is `GNS_READY`,
|
|
4804
|
-
* - the `Transform` will be updated to match the position of the node within the gltf (relative to the gltf root, or the parent node),
|
|
4805
|
-
* - a `MeshRenderer` with a GltfMesh mesh type will be added (if the gltf node has a mesh).
|
|
4806
|
-
* - a `MeshCollider` with a GltfMesh mesh type will be added (if the gltf node has a collider).
|
|
4807
|
-
* - a `Material` component including a GltfMaterial reference will be added (if the gltf node has a material).
|
|
4808
|
-
*
|
|
4809
|
-
* After creation, if an animation moves the node, the `Transform` will be updated.
|
|
4810
|
-
*
|
|
4811
|
-
* From the scene, you can modify various components to alter the gltf node:
|
|
4812
|
-
* - modifying the `Transform` position/rotation/scale will move the node. The position is interpreted relative to the gltf root (or parent node),
|
|
4813
|
-
* regardless of any intermediate gltf node hierarchy.
|
|
4814
|
-
* If an animation is playing, the animation takes priority and the scene entity's position will be updated to match the animation.
|
|
4815
|
-
* - `Visibility` can be added to hide or show the node and it's children in the gltf hierarchy.
|
|
4816
|
-
* - `MeshRenderer` can be added/modified/removed to create/modify/remove a mesh on the node.
|
|
4817
|
-
* - `MeshCollider` can be added/modified/removed to create/modify/remove a collider on the node.
|
|
4818
|
-
* - `Material` can be added or modified to change the material properties. If the gltf node has a material, the original material will be
|
|
4819
|
-
* used as a base, and any gltf features (e.g. occlusion maps) from the gtlf spec that the renderer supports but that are not exposed in the
|
|
4820
|
-
* PBMaterial will be maintained.
|
|
4821
|
-
*
|
|
4822
|
-
* The scene can add additional entities as children to the gltf node, but structural modifications of the gltf are not possible:
|
|
4823
|
-
* - changing the scene hierarchy will not change the gltf node hierarchy. Moving the entity out of the gltf will sever the link and
|
|
4824
|
-
* change the state to `GNS_FAILED`.
|
|
4825
|
-
* - deleting the scene entity will not delete the gltf node.
|
|
4826
|
-
*
|
|
4827
|
-
* Removing the GltfNode will revert any changes to the original gltf. If the GltfNode component is removed and the mesh/collider/material
|
|
4828
|
-
* are not removed, this will result in a duplication of these components as the previously-linked entity will retain it's components and
|
|
4829
|
-
* the gltf node will also be displayed.
|
|
4830
|
-
*/
|
|
4831
|
-
/**
|
|
4832
|
-
* @public
|
|
4833
|
-
*/
|
|
4834
|
-
export declare interface PBGltfNode {
|
|
4835
|
-
/** the path of the target node in the Gltf. */
|
|
4836
|
-
path: string;
|
|
4837
|
-
}
|
|
4838
|
-
|
|
4839
|
-
/**
|
|
4840
|
-
* @public
|
|
4841
|
-
*/
|
|
4842
|
-
export declare namespace PBGltfNode {
|
|
4843
|
-
export function encode(message: PBGltfNode, writer?: _m0.Writer): _m0.Writer;
|
|
4844
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNode;
|
|
4845
|
-
}
|
|
4846
|
-
|
|
4847
|
-
/**
|
|
4848
|
-
* The state of a linked gltf node.
|
|
4849
|
-
* If the state is GNSV_FAILED, the renderer may describe the failure in the error string.
|
|
4850
|
-
*/
|
|
4851
|
-
/**
|
|
4852
|
-
* @public
|
|
4853
|
-
*/
|
|
4854
|
-
export declare interface PBGltfNodeState {
|
|
4855
|
-
state: GltfNodeStateValue;
|
|
4856
|
-
error?: string | undefined;
|
|
4857
|
-
}
|
|
4858
|
-
|
|
4859
|
-
/**
|
|
4860
|
-
* @public
|
|
4861
|
-
*/
|
|
4862
|
-
export declare namespace PBGltfNodeState {
|
|
4863
|
-
export function encode(message: PBGltfNodeState, writer?: _m0.Writer): _m0.Writer;
|
|
4864
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBGltfNodeState;
|
|
4865
|
-
}
|
|
4866
|
-
|
|
4867
4514
|
/**
|
|
4868
4515
|
* @public
|
|
4869
4516
|
*/
|
|
@@ -4903,62 +4550,6 @@ export declare namespace PBInputModifier_StandardInput {
|
|
|
4903
4550
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
|
|
4904
4551
|
}
|
|
4905
4552
|
|
|
4906
|
-
/**
|
|
4907
|
-
* defines a light source.
|
|
4908
|
-
* the world has a default directional light (like sunlight) which can be overridden by adding the light component to the scene root.
|
|
4909
|
-
* a PBGlobalLight component can also be added to the root to control the directional light direction.
|
|
4910
|
-
* point lights (lightbulbs) or spotlights can be created by attaching the light component to non-root entities.
|
|
4911
|
-
*/
|
|
4912
|
-
/**
|
|
4913
|
-
* @public
|
|
4914
|
-
*/
|
|
4915
|
-
export declare interface PBLight {
|
|
4916
|
-
/**
|
|
4917
|
-
* whether the light is on
|
|
4918
|
-
* default true
|
|
4919
|
-
*/
|
|
4920
|
-
enabled?: boolean | undefined;
|
|
4921
|
-
/**
|
|
4922
|
-
* light brightness in lux (lumens/m^2).
|
|
4923
|
-
*
|
|
4924
|
-
* for global directional light, this applies as a constant value at all surfaces and distances (though the effect on the surface still depends on incidence angle).
|
|
4925
|
-
* the default global light illuminance varies from 400 (sunrise/sunset) to 10,000 (midday).
|
|
4926
|
-
* for typical values, see https://en.wikipedia.org/wiki/Lux#Illuminance
|
|
4927
|
-
*
|
|
4928
|
-
* for point and spot lights, this is the lumens/m^2 at 1m distance from the light. to transform from raw lumens,
|
|
4929
|
-
* divide lumens by ~12 (4*pi).
|
|
4930
|
-
* e.g. a 100w household bulb with 1200 lumens would have an illuminance of ~100.
|
|
4931
|
-
* a lighthouse bulb with 200,000 lumens would have an illuminance of ~15,000 (ignoring beam reflections)
|
|
4932
|
-
*
|
|
4933
|
-
* default
|
|
4934
|
-
* for point/spotlights: 10,000
|
|
4935
|
-
* for global directional light: depends on explorer implementation. may vary on light direction, time of day, etc
|
|
4936
|
-
*/
|
|
4937
|
-
illuminance?: number | undefined;
|
|
4938
|
-
/**
|
|
4939
|
-
* whether the light should cast shadows.
|
|
4940
|
-
* note: even when set to true the engine may not display shadows, or may only show shadows for a limited number
|
|
4941
|
-
* of lights depending on the implementation, platform, and user settings.
|
|
4942
|
-
* default
|
|
4943
|
-
* for point/spotlights: false / off
|
|
4944
|
-
* for global directional light: true / on
|
|
4945
|
-
*/
|
|
4946
|
-
shadows?: boolean | undefined;
|
|
4947
|
-
/**
|
|
4948
|
-
* light color
|
|
4949
|
-
* default White
|
|
4950
|
-
*/
|
|
4951
|
-
color?: PBColor3 | undefined;
|
|
4952
|
-
}
|
|
4953
|
-
|
|
4954
|
-
/**
|
|
4955
|
-
* @public
|
|
4956
|
-
*/
|
|
4957
|
-
export declare namespace PBLight {
|
|
4958
|
-
export function encode(message: PBLight, writer?: _m0.Writer): _m0.Writer;
|
|
4959
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLight;
|
|
4960
|
-
}
|
|
4961
|
-
|
|
4962
4553
|
/**
|
|
4963
4554
|
* PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
|
|
4964
4555
|
* This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
|
|
@@ -4990,14 +4581,6 @@ export declare interface PBMaterial {
|
|
|
4990
4581
|
$case: "pbr";
|
|
4991
4582
|
pbr: PBMaterial_PbrMaterial;
|
|
4992
4583
|
} | undefined;
|
|
4993
|
-
/**
|
|
4994
|
-
* A gltf material that may provide additional features not supported by the PbMaterial fields.
|
|
4995
|
-
* If both gltf and material fields are provided, the gltf will be used only for extended features not
|
|
4996
|
-
* supported by the PbMaterial.
|
|
4997
|
-
* If this is provided and the `material` field is not provided, the renderer will update the material
|
|
4998
|
-
* field with data that reflects the gltf material once it is loaded.
|
|
4999
|
-
*/
|
|
5000
|
-
gltf?: PBMaterial_GltfMaterial | undefined;
|
|
5001
4584
|
}
|
|
5002
4585
|
|
|
5003
4586
|
/**
|
|
@@ -5008,22 +4591,6 @@ export declare namespace PBMaterial {
|
|
|
5008
4591
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial;
|
|
5009
4592
|
}
|
|
5010
4593
|
|
|
5011
|
-
/**
|
|
5012
|
-
* @public
|
|
5013
|
-
*/
|
|
5014
|
-
export declare interface PBMaterial_GltfMaterial {
|
|
5015
|
-
gltfSrc: string;
|
|
5016
|
-
name: string;
|
|
5017
|
-
}
|
|
5018
|
-
|
|
5019
|
-
/**
|
|
5020
|
-
* @public
|
|
5021
|
-
*/
|
|
5022
|
-
export declare namespace PBMaterial_GltfMaterial {
|
|
5023
|
-
export function encode(message: PBMaterial_GltfMaterial, writer?: _m0.Writer): _m0.Writer;
|
|
5024
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMaterial_GltfMaterial;
|
|
5025
|
-
}
|
|
5026
|
-
|
|
5027
4594
|
/**
|
|
5028
4595
|
* @public
|
|
5029
4596
|
*/
|
|
@@ -5120,9 +4687,6 @@ export declare interface PBMeshCollider {
|
|
|
5120
4687
|
} | {
|
|
5121
4688
|
$case: "plane";
|
|
5122
4689
|
plane: PBMeshCollider_PlaneMesh;
|
|
5123
|
-
} | {
|
|
5124
|
-
$case: "gltf";
|
|
5125
|
-
gltf: PBMeshCollider_GltfMesh;
|
|
5126
4690
|
} | undefined;
|
|
5127
4691
|
}
|
|
5128
4692
|
|
|
@@ -5168,25 +4732,6 @@ export declare namespace PBMeshCollider_CylinderMesh {
|
|
|
5168
4732
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_CylinderMesh;
|
|
5169
4733
|
}
|
|
5170
4734
|
|
|
5171
|
-
/** A collider constructed from a Gltf Mesh. */
|
|
5172
|
-
/**
|
|
5173
|
-
* @public
|
|
5174
|
-
*/
|
|
5175
|
-
export declare interface PBMeshCollider_GltfMesh {
|
|
5176
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
|
5177
|
-
gltfSrc: string;
|
|
5178
|
-
/** the name of the mesh asset */
|
|
5179
|
-
name: string;
|
|
5180
|
-
}
|
|
5181
|
-
|
|
5182
|
-
/**
|
|
5183
|
-
* @public
|
|
5184
|
-
*/
|
|
5185
|
-
export declare namespace PBMeshCollider_GltfMesh {
|
|
5186
|
-
export function encode(message: PBMeshCollider_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
5187
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshCollider_GltfMesh;
|
|
5188
|
-
}
|
|
5189
|
-
|
|
5190
4735
|
/** PlaneMesh is a 2D rectangle described by the Entity's Transform. */
|
|
5191
4736
|
/**
|
|
5192
4737
|
* @public
|
|
@@ -5219,11 +4764,13 @@ export declare namespace PBMeshCollider_SphereMesh {
|
|
|
5219
4764
|
|
|
5220
4765
|
/**
|
|
5221
4766
|
* The MeshRenderer component renders a basic geometric shape for an Entity. It can be a cube, a
|
|
5222
|
-
* plane, a sphere
|
|
4767
|
+
* plane, a sphere or a cylinder.
|
|
5223
4768
|
*
|
|
5224
4769
|
* The cube and plane variants can include a UV texture mapping, so specific areas of a material
|
|
5225
4770
|
* texture are rendered on different faces of the shape. They are serialized as a sequence of 2D
|
|
5226
4771
|
* `float` coordinates, one for each corner of each side of each face.
|
|
4772
|
+
*
|
|
4773
|
+
* More complex shapes require the use of a `GltfContainer` component.
|
|
5227
4774
|
*/
|
|
5228
4775
|
/**
|
|
5229
4776
|
* @public
|
|
@@ -5241,9 +4788,6 @@ export declare interface PBMeshRenderer {
|
|
|
5241
4788
|
} | {
|
|
5242
4789
|
$case: "plane";
|
|
5243
4790
|
plane: PBMeshRenderer_PlaneMesh;
|
|
5244
|
-
} | {
|
|
5245
|
-
$case: "gltf";
|
|
5246
|
-
gltf: PBMeshRenderer_GltfMesh;
|
|
5247
4791
|
} | undefined;
|
|
5248
4792
|
}
|
|
5249
4793
|
|
|
@@ -5291,25 +4835,6 @@ export declare namespace PBMeshRenderer_CylinderMesh {
|
|
|
5291
4835
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_CylinderMesh;
|
|
5292
4836
|
}
|
|
5293
4837
|
|
|
5294
|
-
/** A mesh from a Gltf. */
|
|
5295
|
-
/**
|
|
5296
|
-
* @public
|
|
5297
|
-
*/
|
|
5298
|
-
export declare interface PBMeshRenderer_GltfMesh {
|
|
5299
|
-
/** the GLTF file path as listed in the scene's manifest. */
|
|
5300
|
-
gltfSrc: string;
|
|
5301
|
-
/** the name of the mesh asset */
|
|
5302
|
-
name: string;
|
|
5303
|
-
}
|
|
5304
|
-
|
|
5305
|
-
/**
|
|
5306
|
-
* @public
|
|
5307
|
-
*/
|
|
5308
|
-
export declare namespace PBMeshRenderer_GltfMesh {
|
|
5309
|
-
export function encode(message: PBMeshRenderer_GltfMesh, writer?: _m0.Writer): _m0.Writer;
|
|
5310
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMeshRenderer_GltfMesh;
|
|
5311
|
-
}
|
|
5312
|
-
|
|
5313
4838
|
/** PlaneMesh renders a 2D rectangular shape. */
|
|
5314
4839
|
/**
|
|
5315
4840
|
* @public
|
|
@@ -5558,10 +5083,7 @@ export declare interface PBPrimaryPointerInfo {
|
|
|
5558
5083
|
screenCoordinates?: PBVector2 | undefined;
|
|
5559
5084
|
/** Movement since last frame (pixels) */
|
|
5560
5085
|
screenDelta?: PBVector2 | undefined;
|
|
5561
|
-
/**
|
|
5562
|
-
* ray direction that can be used with the primary camera origin for
|
|
5563
|
-
* raycasting from the cursor into the world
|
|
5564
|
-
*/
|
|
5086
|
+
/** Direction vector for 3D ray casting */
|
|
5565
5087
|
worldRayDirection?: PBVector3 | undefined;
|
|
5566
5088
|
}
|
|
5567
5089
|
|
|
@@ -5701,39 +5223,6 @@ export declare namespace PBRealmInfo {
|
|
|
5701
5223
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBRealmInfo;
|
|
5702
5224
|
}
|
|
5703
5225
|
|
|
5704
|
-
/**
|
|
5705
|
-
* defines a spotlight.
|
|
5706
|
-
* spotlights are point lights that emit light only in a cone around the transform's forward direction.
|
|
5707
|
-
* add this component together with the PBLight component to transform a point light into a spotlight.
|
|
5708
|
-
* note that spotlights do not model any internal reflections / focus, they only restrict the area of effect.
|
|
5709
|
-
* so for e.g. a torch beam, the bulb illuminance should be multiplied by the solid angle.
|
|
5710
|
-
* a typical torch with a beam width of 15 degrees would use outer angle of 0.15 (7.5 degrees in radians),
|
|
5711
|
-
* and an illuminance approximately equal to the bulb's lumens, e.g. 1200.
|
|
5712
|
-
*/
|
|
5713
|
-
/**
|
|
5714
|
-
* @public
|
|
5715
|
-
*/
|
|
5716
|
-
export declare interface PBSpotlight {
|
|
5717
|
-
/**
|
|
5718
|
-
* the cone radius in radians. distance away from forward in which the light is visible.
|
|
5719
|
-
* for a torch a value around 0.15 is appropriate.
|
|
5720
|
-
*/
|
|
5721
|
-
angle: number;
|
|
5722
|
-
/**
|
|
5723
|
-
* optional angle at which the light is brightest. should be <= outer angle.
|
|
5724
|
-
* if specified, the light will fall off smoothly between `inner_angle` and `angle`.
|
|
5725
|
-
*/
|
|
5726
|
-
innerAngle?: number | undefined;
|
|
5727
|
-
}
|
|
5728
|
-
|
|
5729
|
-
/**
|
|
5730
|
-
* @public
|
|
5731
|
-
*/
|
|
5732
|
-
export declare namespace PBSpotlight {
|
|
5733
|
-
export function encode(message: PBSpotlight, writer?: _m0.Writer): _m0.Writer;
|
|
5734
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBSpotlight;
|
|
5735
|
-
}
|
|
5736
|
-
|
|
5737
5226
|
/**
|
|
5738
5227
|
* The TextShape component renders customizable floating text.
|
|
5739
5228
|
*
|
|
@@ -5798,46 +5287,6 @@ export declare namespace PBTextShape {
|
|
|
5798
5287
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextShape;
|
|
5799
5288
|
}
|
|
5800
5289
|
|
|
5801
|
-
/**
|
|
5802
|
-
* @public
|
|
5803
|
-
*/
|
|
5804
|
-
export declare interface PBTextureCamera {
|
|
5805
|
-
/** rendered texture width */
|
|
5806
|
-
width?: number | undefined;
|
|
5807
|
-
/** rendered texture height */
|
|
5808
|
-
height?: number | undefined;
|
|
5809
|
-
/**
|
|
5810
|
-
* which layer of entities to render. entity layers can be specified by adding PBCameraLayers to target entities.
|
|
5811
|
-
* defaults to 0
|
|
5812
|
-
*/
|
|
5813
|
-
layer?: number | undefined;
|
|
5814
|
-
/** default black */
|
|
5815
|
-
clearColor?: PBColor4 | undefined;
|
|
5816
|
-
/** default infinity */
|
|
5817
|
-
farPlane?: number | undefined;
|
|
5818
|
-
mode?: {
|
|
5819
|
-
$case: "perspective";
|
|
5820
|
-
perspective: Perspective;
|
|
5821
|
-
} | {
|
|
5822
|
-
$case: "orthographic";
|
|
5823
|
-
orthographic: Orthographic;
|
|
5824
|
-
} | undefined;
|
|
5825
|
-
/**
|
|
5826
|
-
* controls whether this camera acts as a receiver for audio on sources with matching `PBCameraLayers`.
|
|
5827
|
-
* range: 0 (off) - 1 (full volume)
|
|
5828
|
-
* default: 0
|
|
5829
|
-
*/
|
|
5830
|
-
volume?: number | undefined;
|
|
5831
|
-
}
|
|
5832
|
-
|
|
5833
|
-
/**
|
|
5834
|
-
* @public
|
|
5835
|
-
*/
|
|
5836
|
-
export declare namespace PBTextureCamera {
|
|
5837
|
-
export function encode(message: PBTextureCamera, writer?: _m0.Writer): _m0.Writer;
|
|
5838
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBTextureCamera;
|
|
5839
|
-
}
|
|
5840
|
-
|
|
5841
5290
|
/**
|
|
5842
5291
|
* @public
|
|
5843
5292
|
*/
|
|
@@ -5927,25 +5376,6 @@ export declare namespace PBUiBackground {
|
|
|
5927
5376
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
|
|
5928
5377
|
}
|
|
5929
5378
|
|
|
5930
|
-
/** The UiCanvas component can be attached to a ui root entity to specify properties of the ui texture. */
|
|
5931
|
-
/**
|
|
5932
|
-
* @public
|
|
5933
|
-
*/
|
|
5934
|
-
export declare interface PBUiCanvas {
|
|
5935
|
-
width: number;
|
|
5936
|
-
height: number;
|
|
5937
|
-
/** default = (0.0, 0.0, 0.0, 0.0) / transparent */
|
|
5938
|
-
color?: PBColor4 | undefined;
|
|
5939
|
-
}
|
|
5940
|
-
|
|
5941
|
-
/**
|
|
5942
|
-
* @public
|
|
5943
|
-
*/
|
|
5944
|
-
export declare namespace PBUiCanvas {
|
|
5945
|
-
export function encode(message: PBUiCanvas, writer?: _m0.Writer): _m0.Writer;
|
|
5946
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiCanvas;
|
|
5947
|
-
}
|
|
5948
|
-
|
|
5949
5379
|
/** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
|
|
5950
5380
|
/**
|
|
5951
5381
|
* @public
|
|
@@ -6062,21 +5492,6 @@ export declare namespace PBUiInputResult {
|
|
|
6062
5492
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
|
|
6063
5493
|
}
|
|
6064
5494
|
|
|
6065
|
-
/**
|
|
6066
|
-
* @public
|
|
6067
|
-
*/
|
|
6068
|
-
export declare interface PBUiScrollResult {
|
|
6069
|
-
value: PBVector2 | undefined;
|
|
6070
|
-
}
|
|
6071
|
-
|
|
6072
|
-
/**
|
|
6073
|
-
* @public
|
|
6074
|
-
*/
|
|
6075
|
-
export declare namespace PBUiScrollResult {
|
|
6076
|
-
export function encode(message: PBUiScrollResult, writer?: _m0.Writer): _m0.Writer;
|
|
6077
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBUiScrollResult;
|
|
6078
|
-
}
|
|
6079
|
-
|
|
6080
5495
|
/**
|
|
6081
5496
|
* @public
|
|
6082
5497
|
*/
|
|
@@ -6093,10 +5508,6 @@ export declare interface PBUiText {
|
|
|
6093
5508
|
fontSize?: number | undefined;
|
|
6094
5509
|
/** wrap text when the border is reached (default: TW_WRAP) */
|
|
6095
5510
|
textWrap?: TextWrap | undefined;
|
|
6096
|
-
/** width of the outline (default: 0) */
|
|
6097
|
-
outlineWidth?: number | undefined;
|
|
6098
|
-
/** RGBA color of the outline (default: opaque black) */
|
|
6099
|
-
outlineColor?: PBColor4 | undefined;
|
|
6100
5511
|
}
|
|
6101
5512
|
|
|
6102
5513
|
/**
|
|
@@ -6224,12 +5635,6 @@ export declare interface PBUiTransform {
|
|
|
6224
5635
|
borderRightColor?: PBColor4 | undefined;
|
|
6225
5636
|
/** default: 1 */
|
|
6226
5637
|
opacity?: number | undefined;
|
|
6227
|
-
/** reference for scroll_position. default empty */
|
|
6228
|
-
elementId?: string | undefined;
|
|
6229
|
-
/** default position=(0,0) */
|
|
6230
|
-
scrollPosition?: ScrollPositionValue | undefined;
|
|
6231
|
-
/** default ShowScrollBar.SSB_BOTH */
|
|
6232
|
-
scrollVisible?: ShowScrollBar | undefined;
|
|
6233
5638
|
/** default: 0 — controls render stacking order. Higher values appear in front of lower values. */
|
|
6234
5639
|
zIndex?: number | undefined;
|
|
6235
5640
|
}
|
|
@@ -6361,25 +5766,6 @@ export declare namespace PBVisibilityComponent {
|
|
|
6361
5766
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): PBVisibilityComponent;
|
|
6362
5767
|
}
|
|
6363
5768
|
|
|
6364
|
-
/**
|
|
6365
|
-
* @public
|
|
6366
|
-
*/
|
|
6367
|
-
export declare interface Perspective {
|
|
6368
|
-
/**
|
|
6369
|
-
* vertical field of view in radians
|
|
6370
|
-
* defaults to pi/4 = 45 degrees
|
|
6371
|
-
*/
|
|
6372
|
-
fieldOfView?: number | undefined;
|
|
6373
|
-
}
|
|
6374
|
-
|
|
6375
|
-
/**
|
|
6376
|
-
* @public
|
|
6377
|
-
*/
|
|
6378
|
-
export declare namespace Perspective {
|
|
6379
|
-
export function encode(message: Perspective, writer?: _m0.Writer): _m0.Writer;
|
|
6380
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): Perspective;
|
|
6381
|
-
}
|
|
6382
|
-
|
|
6383
5769
|
/**
|
|
6384
5770
|
* Represens a plane by the equation ax + by + cz + d = 0
|
|
6385
5771
|
* @public
|
|
@@ -6535,24 +5921,6 @@ export declare interface PointerEventsSystem {
|
|
|
6535
5921
|
* @param entity - Entity where the callback was attached
|
|
6536
5922
|
*/
|
|
6537
5923
|
removeOnPointerHoverLeave(entity: Entity): void;
|
|
6538
|
-
/**
|
|
6539
|
-
* @public
|
|
6540
|
-
* Remove the callback for onPointerDrag event
|
|
6541
|
-
* @param entity - Entity where the callback was attached
|
|
6542
|
-
*/
|
|
6543
|
-
removeOnPointerDrag(entity: Entity): void;
|
|
6544
|
-
/**
|
|
6545
|
-
* @public
|
|
6546
|
-
* Remove the callback for onPointerDragLocked event
|
|
6547
|
-
* @param entity - Entity where the callback was attached
|
|
6548
|
-
*/
|
|
6549
|
-
removeOnPointerDragLocked(entity: Entity): void;
|
|
6550
|
-
/**
|
|
6551
|
-
* @public
|
|
6552
|
-
* Remove the callback for onPointerDragEnd event
|
|
6553
|
-
* @param entity - Entity where the callback was attached
|
|
6554
|
-
*/
|
|
6555
|
-
removeOnPointerDragEnd(entity: Entity): void;
|
|
6556
5924
|
/**
|
|
6557
5925
|
* @public
|
|
6558
5926
|
* Execute callback when the user press the InputButton pointing at the entity
|
|
@@ -6607,37 +5975,6 @@ export declare interface PointerEventsSystem {
|
|
|
6607
5975
|
entity: Entity;
|
|
6608
5976
|
opts?: Partial<EventSystemOptions>;
|
|
6609
5977
|
}, cb: EventSystemCallback): void;
|
|
6610
|
-
/**
|
|
6611
|
-
* @public
|
|
6612
|
-
* Execute callback when the user clicks and drags the pointer from inside the entity
|
|
6613
|
-
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
6614
|
-
* @param cb - Function to execute when click fires
|
|
6615
|
-
*/
|
|
6616
|
-
onPointerDrag(pointerData: {
|
|
6617
|
-
entity: Entity;
|
|
6618
|
-
opts?: Partial<EventSystemOptions>;
|
|
6619
|
-
}, cb: EventSystemCallback): void;
|
|
6620
|
-
/**
|
|
6621
|
-
* @public
|
|
6622
|
-
* Execute callback when the user clicks and drags the pointer from inside the entity,
|
|
6623
|
-
* locking the cursor in place
|
|
6624
|
-
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
6625
|
-
* @param cb - Function to execute when click fires
|
|
6626
|
-
*/
|
|
6627
|
-
onPointerDragLocked(pointerData: {
|
|
6628
|
-
entity: Entity;
|
|
6629
|
-
opts?: Partial<EventSystemOptions>;
|
|
6630
|
-
}, cb: EventSystemCallback): void;
|
|
6631
|
-
/**
|
|
6632
|
-
* @public
|
|
6633
|
-
* Execute callback when the user releases the button after a drag
|
|
6634
|
-
* @param pointerData - Entity to attach the callback - Opts to trigger Feedback and Button
|
|
6635
|
-
* @param cb - Function to execute when click fires
|
|
6636
|
-
*/
|
|
6637
|
-
onPointerDragEnd(pointerData: {
|
|
6638
|
-
entity: Entity;
|
|
6639
|
-
opts?: Partial<EventSystemOptions>;
|
|
6640
|
-
}, cb: EventSystemCallback): void;
|
|
6641
5978
|
}
|
|
6642
5979
|
|
|
6643
5980
|
/**
|
|
@@ -6654,10 +5991,7 @@ export declare const enum PointerEventType {
|
|
|
6654
5991
|
PET_UP = 0,
|
|
6655
5992
|
PET_DOWN = 1,
|
|
6656
5993
|
PET_HOVER_ENTER = 2,
|
|
6657
|
-
PET_HOVER_LEAVE = 3
|
|
6658
|
-
PET_DRAG_LOCKED = 4,
|
|
6659
|
-
PET_DRAG = 5,
|
|
6660
|
-
PET_DRAG_END = 6
|
|
5994
|
+
PET_HOVER_LEAVE = 3
|
|
6661
5995
|
}
|
|
6662
5996
|
|
|
6663
5997
|
/**
|
|
@@ -6688,10 +6022,7 @@ export declare const enum PointerType {
|
|
|
6688
6022
|
/** POT_NONE - No pointer input */
|
|
6689
6023
|
POT_NONE = 0,
|
|
6690
6024
|
/** POT_MOUSE - Traditional mouse input */
|
|
6691
|
-
POT_MOUSE = 1
|
|
6692
|
-
POT_PAD = 2,
|
|
6693
|
-
POT_TOUCH = 3,
|
|
6694
|
-
POT_WAND = 4
|
|
6025
|
+
POT_MOUSE = 1
|
|
6695
6026
|
}
|
|
6696
6027
|
|
|
6697
6028
|
/**
|
|
@@ -7288,7 +6619,6 @@ export declare type RaycastSystemOptions = {
|
|
|
7288
6619
|
export declare interface ReactBasedUiSystem {
|
|
7289
6620
|
destroy(): void;
|
|
7290
6621
|
setUiRenderer(ui: UiComponent): void;
|
|
7291
|
-
setTextureRenderer(entity: Entity, ui: UiComponent): void;
|
|
7292
6622
|
}
|
|
7293
6623
|
|
|
7294
6624
|
/**
|
|
@@ -7751,43 +7081,6 @@ export declare namespace Schemas {
|
|
|
7751
7081
|
}) => void;
|
|
7752
7082
|
}
|
|
7753
7083
|
|
|
7754
|
-
/**
|
|
7755
|
-
* @public
|
|
7756
|
-
*/
|
|
7757
|
-
export declare interface ScrollPositionValue {
|
|
7758
|
-
value?: {
|
|
7759
|
-
$case: "position";
|
|
7760
|
-
position: PBVector2;
|
|
7761
|
-
} | {
|
|
7762
|
-
$case: "reference";
|
|
7763
|
-
reference: string;
|
|
7764
|
-
} | undefined;
|
|
7765
|
-
}
|
|
7766
|
-
|
|
7767
|
-
/**
|
|
7768
|
-
* @public
|
|
7769
|
-
*/
|
|
7770
|
-
export declare namespace ScrollPositionValue {
|
|
7771
|
-
export function encode(message: ScrollPositionValue, writer?: _m0.Writer): _m0.Writer;
|
|
7772
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): ScrollPositionValue;
|
|
7773
|
-
}
|
|
7774
|
-
|
|
7775
|
-
/**
|
|
7776
|
-
* @public
|
|
7777
|
-
* The scroll-visible determines if the scrollbars are shown when the scroll overflow is enabled
|
|
7778
|
-
*/
|
|
7779
|
-
export declare type ScrollVisibleType = 'horizontal' | 'vertical' | 'both' | 'hidden';
|
|
7780
|
-
|
|
7781
|
-
/**
|
|
7782
|
-
* @public
|
|
7783
|
-
*/
|
|
7784
|
-
export declare const enum ShowScrollBar {
|
|
7785
|
-
SSB_BOTH = 0,
|
|
7786
|
-
SSB_ONLY_VERTICAL = 1,
|
|
7787
|
-
SSB_ONLY_HORIZONTAL = 2,
|
|
7788
|
-
SSB_HIDDEN = 3
|
|
7789
|
-
}
|
|
7790
|
-
|
|
7791
7084
|
/**
|
|
7792
7085
|
* @public
|
|
7793
7086
|
*/
|
|
@@ -7795,9 +7088,6 @@ export declare interface Spec {
|
|
|
7795
7088
|
[key: string]: ISchema;
|
|
7796
7089
|
}
|
|
7797
7090
|
|
|
7798
|
-
/** @public */
|
|
7799
|
-
export declare const Spotlight: LastWriteWinElementSetComponentDefinition<PBSpotlight>;
|
|
7800
|
-
|
|
7801
7091
|
/**
|
|
7802
7092
|
* @alpha
|
|
7803
7093
|
* This is going to be used for sync components through a server.
|
|
@@ -7872,9 +7162,6 @@ export declare namespace Texture {
|
|
|
7872
7162
|
export function decode(input: _m0.Reader | Uint8Array, length?: number): Texture;
|
|
7873
7163
|
}
|
|
7874
7164
|
|
|
7875
|
-
/** @public */
|
|
7876
|
-
export declare const TextureCamera: LastWriteWinElementSetComponentDefinition<PBTextureCamera>;
|
|
7877
|
-
|
|
7878
7165
|
/**
|
|
7879
7166
|
* @public
|
|
7880
7167
|
*/
|
|
@@ -7967,9 +7254,6 @@ export declare interface TextureUnion {
|
|
|
7967
7254
|
} | {
|
|
7968
7255
|
$case: "videoTexture";
|
|
7969
7256
|
videoTexture: VideoTexture;
|
|
7970
|
-
} | {
|
|
7971
|
-
$case: "uiTexture";
|
|
7972
|
-
uiTexture: UiCanvasTexture;
|
|
7973
7257
|
} | undefined;
|
|
7974
7258
|
}
|
|
7975
7259
|
|
|
@@ -8177,8 +7461,6 @@ export declare interface UiBackgroundProps {
|
|
|
8177
7461
|
uvs?: number[];
|
|
8178
7462
|
/** AvatarTexture for the background */
|
|
8179
7463
|
avatarTexture?: UiAvatarTexture;
|
|
8180
|
-
/** VideoTexture for the background */
|
|
8181
|
-
videoTexture?: UiVideoTexture;
|
|
8182
7464
|
/** Texture for the background */
|
|
8183
7465
|
texture?: UiTexture;
|
|
8184
7466
|
}
|
|
@@ -8198,31 +7480,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
8198
7480
|
disabled?: boolean;
|
|
8199
7481
|
}
|
|
8200
7482
|
|
|
8201
|
-
/** @public */
|
|
8202
|
-
export declare const UiCanvas: LastWriteWinElementSetComponentDefinition<PBUiCanvas>;
|
|
8203
|
-
|
|
8204
7483
|
/** @public */
|
|
8205
7484
|
export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
8206
7485
|
|
|
8207
|
-
/**
|
|
8208
|
-
* @public
|
|
8209
|
-
*/
|
|
8210
|
-
export declare interface UiCanvasTexture {
|
|
8211
|
-
uiCanvasEntity: number;
|
|
8212
|
-
/** default = TextureWrapMode.Clamp */
|
|
8213
|
-
wrapMode?: TextureWrapMode | undefined;
|
|
8214
|
-
/** default = FilterMode.Bilinear */
|
|
8215
|
-
filterMode?: TextureFilterMode | undefined;
|
|
8216
|
-
}
|
|
8217
|
-
|
|
8218
|
-
/**
|
|
8219
|
-
* @public
|
|
8220
|
-
*/
|
|
8221
|
-
export declare namespace UiCanvasTexture {
|
|
8222
|
-
export function encode(message: UiCanvasTexture, writer?: _m0.Writer): _m0.Writer;
|
|
8223
|
-
export function decode(input: _m0.Reader | Uint8Array, length?: number): UiCanvasTexture;
|
|
8224
|
-
}
|
|
8225
|
-
|
|
8226
7486
|
/**
|
|
8227
7487
|
* @public
|
|
8228
7488
|
*/
|
|
@@ -8292,10 +7552,6 @@ export declare interface UiLabelProps {
|
|
|
8292
7552
|
textAlign?: TextAlignType | undefined;
|
|
8293
7553
|
/** Label font type. @defaultValue 'sans-serif' */
|
|
8294
7554
|
font?: UiFontType | undefined;
|
|
8295
|
-
/** Outline width of the text. @defaultValue 0 */
|
|
8296
|
-
outlineWidth?: number | undefined;
|
|
8297
|
-
/** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
|
|
8298
|
-
outlineColor?: PBColor4 | undefined;
|
|
8299
7555
|
/** Behaviour when text reached. @defaultValue 'wrap' */
|
|
8300
7556
|
textWrap?: UiTextWrapType | undefined;
|
|
8301
7557
|
}
|
|
@@ -8305,9 +7561,6 @@ export declare interface UiLabelProps {
|
|
|
8305
7561
|
*/
|
|
8306
7562
|
export declare type uint32 = number;
|
|
8307
7563
|
|
|
8308
|
-
/** @public */
|
|
8309
|
-
export declare const UiScrollResult: LastWriteWinElementSetComponentDefinition<PBUiScrollResult>;
|
|
8310
|
-
|
|
8311
7564
|
/** @public */
|
|
8312
7565
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
8313
7566
|
|
|
@@ -8385,26 +7638,10 @@ export declare interface UiTransformProps {
|
|
|
8385
7638
|
borderWidth?: Partial<Position> | PositionUnit;
|
|
8386
7639
|
/** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
|
|
8387
7640
|
opacity?: number;
|
|
8388
|
-
/** A reference value to identify the element, default empty */
|
|
8389
|
-
elementId?: string;
|
|
8390
|
-
/** default position=(0,0) if it aplies, a vector or a reference-id */
|
|
8391
|
-
scrollPosition?: PBVector2 | string;
|
|
8392
|
-
/** default ShowScrollBar.SSB_BOTH */
|
|
8393
|
-
scrollVisible?: ScrollVisibleType;
|
|
8394
7641
|
/** default 0 */
|
|
8395
7642
|
zIndex?: number;
|
|
8396
7643
|
}
|
|
8397
7644
|
|
|
8398
|
-
/**
|
|
8399
|
-
* Texture
|
|
8400
|
-
* @public
|
|
8401
|
-
*/
|
|
8402
|
-
export declare interface UiVideoTexture {
|
|
8403
|
-
videoPlayerEntity: Entity;
|
|
8404
|
-
wrapMode?: TextureWrapType;
|
|
8405
|
-
filterMode?: TextureFilterType;
|
|
8406
|
-
}
|
|
8407
|
-
|
|
8408
7645
|
/**
|
|
8409
7646
|
* @public
|
|
8410
7647
|
*/
|