@galacean/engine-core 1.1.0-beta.3 → 1.1.0-beta.31
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/main.js +7972 -7356
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +7972 -7356
- package/dist/module.js +7962 -7358
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/2d/atlas/types.d.ts +3 -0
- package/types/2d/enums/SpriteModifyFlags.d.ts +2 -1
- package/types/Background.d.ts +8 -0
- package/types/Component.d.ts +1 -1
- package/types/DisorderedArray.d.ts +1 -1
- package/types/Scene.d.ts +6 -0
- package/types/animation/AnimatorLayerMask.d.ts +45 -0
- package/types/animation/LayerPathMask.d.ts +16 -0
- package/types/animation/animationCurve/AnimationStringCurve.d.ts +7 -0
- package/types/asset/AssetPromise.d.ts +1 -0
- package/types/asset/ResourceManager.d.ts +0 -1
- package/types/lighting/DirectLight.d.ts +8 -1
- package/types/lighting/Light.d.ts +0 -4
- package/types/lighting/LightManager.d.ts +7 -0
- package/types/lighting/PointLight.d.ts +9 -1
- package/types/lighting/SpotLight.d.ts +12 -1
- package/types/mesh/SkinnedMeshRenderer.d.ts +1 -1
- package/types/particle/ParticleGenerator.d.ts +0 -2
- package/types/particle/index.d.ts +10 -0
- package/types/particle/modules/EmissionModule.d.ts +0 -1
- package/types/particle/modules/MainModule.d.ts +7 -6
- package/types/particle/modules/ParticleGeneratorModule.d.ts +0 -1
- package/types/particle/modules/ParticleGradient.d.ts +38 -18
- package/types/particle/modules/RotationOverLifetimeModule.d.ts +1 -1
- package/types/particle/modules/TextureSheetAnimationModule.d.ts +0 -4
- package/types/physics/Collider.d.ts +3 -1
- package/types/physics/PhysicsMaterial.d.ts +1 -0
- package/types/physics/joint/HingeJoint.d.ts +1 -1
- package/types/physics/joint/Joint.d.ts +4 -3
- package/types/physics/shape/ColliderShape.d.ts +2 -1
- package/types/physics/shape/SphereColliderShape.d.ts +1 -0
- package/types/shader/Shader.d.ts +1 -1
- package/types/xr/XRManager.d.ts +3 -29
- package/types/xr/XRPose.d.ts +15 -0
- package/types/xr/feature/XRFeature.d.ts +13 -26
- package/types/xr/feature/XRFeatureManager.d.ts +65 -0
- package/types/xr/feature/XRFeatureType.d.ts +13 -0
- package/types/xr/feature/camera/XRCameraManager.d.ts +26 -0
- package/types/xr/feature/hitTest/TrackableType.d.ts +10 -0
- package/types/xr/feature/hitTest/XRHitResult.d.ts +19 -0
- package/types/xr/feature/hitTest/XRHitTest.d.ts +39 -0
- package/types/xr/feature/hitTest/XRHitTestManager.d.ts +38 -0
- package/types/xr/feature/hitTest/XRHitTestType.d.ts +16 -0
- package/types/xr/feature/movementTracking/XRMovementTracking.d.ts +18 -0
- package/types/xr/feature/movementTracking/XRMovementTrackingManager.d.ts +10 -0
- package/types/xr/feature/movementTracking/XRMovementTrackingMode.d.ts +5 -0
- package/types/xr/feature/trackable/XRRequestTrackingState.d.ts +11 -0
- package/types/xr/feature/trackable/XRTrackableFeature.d.ts +38 -0
- package/types/xr/feature/trackable/XRTrackableManager.d.ts +41 -0
- package/types/xr/feature/trackable/anchor/XRAnchor.d.ts +6 -0
- package/types/xr/feature/trackable/anchor/XRAnchorTracking.d.ts +37 -0
- package/types/xr/feature/trackable/anchor/XRAnchorTrackingManager.d.ts +20 -0
- package/types/xr/feature/trackable/anchor/XRRequestAnchor.d.ts +15 -0
- package/types/xr/feature/trackable/image/XRImageTracking.d.ts +24 -0
- package/types/xr/feature/trackable/image/XRImageTrackingManager.d.ts +31 -0
- package/types/xr/feature/trackable/image/XRReferenceImage.d.ts +11 -0
- package/types/xr/feature/trackable/image/XRRequestImage.d.ts +13 -0
- package/types/xr/feature/trackable/image/XRTrackedImage.d.ts +8 -0
- package/types/xr/feature/trackable/plane/XRPlaneMode.d.ts +13 -0
- package/types/xr/feature/trackable/plane/XRPlaneTracking.d.ts +23 -0
- package/types/xr/feature/trackable/plane/XRPlaneTrackingManager.d.ts +11 -0
- package/types/xr/feature/trackable/plane/XRRequestPlane.d.ts +12 -0
- package/types/xr/feature/trackable/plane/XRTrackedPlane.d.ts +20 -0
- package/types/xr/index.d.ts +25 -18
- package/types/xr/input/XRCamera.d.ts +15 -0
- package/types/xr/input/XRController.d.ts +38 -0
- package/types/xr/input/XRControllerPoseMode.d.ts +9 -0
- package/types/xr/input/XRInput.d.ts +8 -0
- package/types/xr/input/XRInputButton.d.ts +19 -0
- package/types/xr/input/XRInputEvent.d.ts +24 -0
- package/types/xr/input/XRInputEventType.d.ts +11 -0
- package/types/xr/input/XRInputManager.d.ts +31 -0
- package/types/xr/input/XRInputType.d.ts +23 -0
- package/types/xr/input/XRTargetRayMode.d.ts +12 -0
- package/types/xr/input/XRTrackedInputDevice.d.ts +21 -0
- package/types/xr/input/XRTrackedUpdateFlag.d.ts +11 -0
- package/types/xr/input/XRTrackingState.d.ts +11 -0
- package/types/xr/session/XRSessionManager.d.ts +45 -0
- package/types/xr/session/XRSessionMode.d.ts +8 -0
- package/types/xr/session/XRSessionState.d.ts +13 -0
- package/types/RenderPipeline/MeshRenderElement.d.ts +0 -17
- package/types/RenderPipeline/RenderElementX.d.ts +0 -12
- package/types/RenderPipeline/SpriteElement.d.ts +0 -13
- package/types/RenderPipeline/SpriteMaskElement.d.ts +0 -10
- package/types/RenderPipeline/TextRenderElement.d.ts +0 -6
- package/types/SafeLoopArray.d.ts +0 -37
- package/types/Ticker.d.ts +0 -30
- package/types/asset/IRefObject.d.ts +0 -2
- package/types/asset/RefObject.d.ts +0 -27
- package/types/base/Event.d.ts +0 -24
- package/types/base/Util.d.ts +0 -14
- package/types/particle/ParticleData.d.ts +0 -1
- package/types/particle/ParticleMesh.d.ts +0 -289
- package/types/particle/ParticleShaderDeclaration.d.ts +0 -1
- package/types/particle/ParticleShaderMacro.d.ts +0 -1
- package/types/particle/ParticleShaderProperty.d.ts +0 -1
- package/types/particle/ParticleSystem.d.ts +0 -41
- package/types/particle/ParticleVertexElements.d.ts +0 -1
- package/types/particle/ParticleVertexUtils.d.ts +0 -1
- package/types/particle/enum/ParticleAnimationRowMode.d.ts +0 -9
- package/types/particle/enum/ParticleAnimationType.d.ts +0 -9
- package/types/particle/enum/ParticleCurveMode.d.ts +0 -13
- package/types/particle/enum/ParticleGradientMode.d.ts +0 -13
- package/types/particle/enum/ParticleRenderMode.d.ts +0 -17
- package/types/particle/enum/ParticleScaleMode.d.ts +0 -11
- package/types/particle/enum/ParticleShapeMultiModeValue.d.ts +0 -9
- package/types/particle/enum/ParticleShapeType.d.ts +0 -15
- package/types/particle/enum/ParticleSimulationSpace.d.ts +0 -9
- package/types/particle/enum/index.d.ts +0 -9
- package/types/particle/module/Burst.d.ts +0 -38
- package/types/particle/module/ColorGradient.d.ts +0 -75
- package/types/particle/module/ColorOverLifetimeModule.d.ts +0 -20
- package/types/particle/module/EmissionModule.d.ts +0 -63
- package/types/particle/module/FrameOverTime.d.ts +0 -73
- package/types/particle/module/ParticleCurve.d.ts +0 -37
- package/types/particle/module/RotationOverLifetimeModule.d.ts +0 -21
- package/types/particle/module/RotationVelocityGradient.d.ts +0 -184
- package/types/particle/module/SizeGradient.d.ts +0 -151
- package/types/particle/module/SizeOverLifetimeModule.d.ts +0 -21
- package/types/particle/module/StartFrame.d.ts +0 -46
- package/types/particle/module/TextureSheetAnimationModule.d.ts +0 -37
- package/types/particle/module/VelocityGradient.d.ts +0 -110
- package/types/particle/module/VelocityOverLifetimeModule.d.ts +0 -22
- package/types/particle/module/index.d.ts +0 -15
- package/types/particle/module/shape/BaseShape.d.ts +0 -26
- package/types/particle/module/shape/BoxShape.d.ts +0 -20
- package/types/particle/module/shape/CircleShape.d.ts +0 -27
- package/types/particle/module/shape/ConeShape.d.ts +0 -35
- package/types/particle/module/shape/HemisphereShape.d.ts +0 -23
- package/types/particle/module/shape/ShapeUtils.d.ts +0 -1
- package/types/particle/module/shape/SphereShape.d.ts +0 -23
- package/types/particle/module/shape/index.d.ts +0 -5
- package/types/particle/modules/ShapeModule.d.ts +0 -9
- package/types/particle/modules/shape/enums/ParticleShapeMultiModeValue.d.ts +0 -9
- package/types/particle/moudules/Burst.d.ts +0 -25
- package/types/particle/moudules/Emission.d.ts +0 -47
- package/types/particle/moudules/EmissionModule.d.ts +0 -49
- package/types/particle/moudules/MainModule.d.ts +0 -59
- package/types/particle/moudules/ParticleCurve.d.ts +0 -27
- package/types/particle/moudules/ParticleGradient.d.ts +0 -28
- package/types/particle/moudules/ShapeModule.d.ts +0 -7
- package/types/particle/moudules/shape/BaseShape.d.ts +0 -28
- package/types/particle/moudules/shape/BoxShape.d.ts +0 -20
- package/types/particle/moudules/shape/CircleShape.d.ts +0 -27
- package/types/particle/moudules/shape/ConeShape.d.ts +0 -35
- package/types/particle/moudules/shape/HemisphereShape.d.ts +0 -23
- package/types/particle/moudules/shape/ShapeUtils.d.ts +0 -1
- package/types/particle/moudules/shape/SphereShape.d.ts +0 -23
- package/types/particle/moudules/shape/enums/ParticleShapeMultiModeValue.d.ts +0 -9
- package/types/particle/moudules/shape/enums/ParticleShapeType.d.ts +0 -15
- package/types/particle/moudules/shape/index.d.ts +0 -5
- package/types/shadow/PipelinePass.d.ts +0 -16
- package/types/utils/BoolUpdateFlag.d.ts +0 -12
- package/types/utils/DisorderedArray.d.ts +0 -18
- package/types/utils/UpdateFlag.d.ts +0 -20
- package/types/utils/UpdateFlagManager.d.ts +0 -1
- package/types/utils/Utils.d.ts +0 -31
- package/types/xr/component/XRPoseDriver.d.ts +0 -10
- package/types/xr/data/XRCamera.d.ts +0 -6
- package/types/xr/data/XRDevice.d.ts +0 -9
- package/types/xr/data/XRHandle.d.ts +0 -10
- package/types/xr/enum/EnumXRButton.d.ts +0 -5
- package/types/xr/enum/EnumXRDevicePhase.d.ts +0 -4
- package/types/xr/enum/EnumXRFeature.d.ts +0 -9
- package/types/xr/enum/EnumXRInputSource.d.ts +0 -8
- package/types/xr/enum/EnumXRMode.d.ts +0 -7
- package/types/xr/enum/EnumXRSubsystem.d.ts +0 -4
- package/types/xr/enum/EnumXRTrackingMode.d.ts +0 -7
- package/types/xr/feature/XRCameraManager.d.ts +0 -21
- package/types/xr/feature/XRImageTrackManager.d.ts +0 -10
- package/types/xr/feature/XRInputManager.d.ts +0 -16
- package/types/xr/provider/XRProvider.d.ts +0 -19
- package/types/xr/subsystem/XRInputSubsystem.d.ts +0 -5
- package/types/xr/subsystem/XRSubsystem.d.ts +0 -30
- /package/types/{2d/data/RenderData2D.d.ts → enums/CameraType.d.ts} +0 -0
- /package/types/{animation/internal/AnimationCurveOwnerLayerData.d.ts → xr/feature/trackable/XRRequestTracking.d.ts} +0 -0
- /package/types/{graphic/PrimitiveVertexBinding.d.ts → xr/feature/trackable/XRTracked.d.ts} +0 -0
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The emission shape.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum ParticleShapeType {
|
|
5
|
-
/** Emit from the volume of a box. */
|
|
6
|
-
Box = 0,
|
|
7
|
-
/** Emit from a circle. */
|
|
8
|
-
Circle = 1,
|
|
9
|
-
/** Emit from the base of a cone. */
|
|
10
|
-
Cone = 2,
|
|
11
|
-
/** Emit from a half-sphere. */
|
|
12
|
-
Hemisphere = 3,
|
|
13
|
-
/** Emit from a sphere. */
|
|
14
|
-
Sphere = 4
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Engine } from "../Engine";
|
|
2
|
-
import { CullingResults } from "../RenderPipeline/CullingResults";
|
|
3
|
-
import { RenderContext } from "../RenderPipeline/RenderContext";
|
|
4
|
-
/**
|
|
5
|
-
* PipelinePass is a base class for all pipeline passes.
|
|
6
|
-
*/
|
|
7
|
-
export declare abstract class PipelinePass {
|
|
8
|
-
protected _engine: Engine;
|
|
9
|
-
constructor(engine: Engine);
|
|
10
|
-
/**
|
|
11
|
-
* Called before rendering a camera, override this method to configure the camera If you need to configure the camera clear flag or render target.
|
|
12
|
-
* @param context - Rendering context
|
|
13
|
-
* @param cullingResults - Culling results
|
|
14
|
-
*/
|
|
15
|
-
abstract onRender(context: RenderContext, cullingResults: CullingResults): void;
|
|
16
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* High-performance unordered array, delete uses exchange method to improve performance, internal capacity only increases.
|
|
3
|
-
*/
|
|
4
|
-
export declare class DisorderedArray<T> {
|
|
5
|
-
_elements: T[];
|
|
6
|
-
length: number;
|
|
7
|
-
constructor(count?: number);
|
|
8
|
-
add(element: T): void;
|
|
9
|
-
delete(element: T): void;
|
|
10
|
-
get(index: number): T;
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @param index
|
|
14
|
-
* @returns The replaced item is used to reset its index.
|
|
15
|
-
*/
|
|
16
|
-
deleteByIndex(index: number): T;
|
|
17
|
-
garbageCollection(): void;
|
|
18
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Used to update tags.
|
|
3
|
-
*/
|
|
4
|
-
export declare abstract class UpdateFlag {
|
|
5
|
-
/**
|
|
6
|
-
* Dispatch.
|
|
7
|
-
* @param bit - Bit
|
|
8
|
-
* @param param - Parameter
|
|
9
|
-
*/
|
|
10
|
-
abstract dispatch(bit?: number, param?: Object): void;
|
|
11
|
-
/**
|
|
12
|
-
* Clear.
|
|
13
|
-
*/
|
|
14
|
-
clearFromManagers(): void;
|
|
15
|
-
/**
|
|
16
|
-
* Destroy.
|
|
17
|
-
*/
|
|
18
|
-
destroy(): void;
|
|
19
|
-
private _removeFromManagers;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/utils/Utils.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export declare class Utils {
|
|
2
|
-
/**
|
|
3
|
-
* Fast remove an element from array.
|
|
4
|
-
* @param array - Array
|
|
5
|
-
* @param item - Element
|
|
6
|
-
*/
|
|
7
|
-
static removeFromArray(array: any[], item: any): boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Decodes a given Uint8Array into a string.
|
|
10
|
-
*/
|
|
11
|
-
static decodeText(array: Uint8Array): string;
|
|
12
|
-
/**
|
|
13
|
-
* Judge whether the url is absolute url.
|
|
14
|
-
* @param url - The url to be judged.
|
|
15
|
-
* @returns Whether the url is absolute url.
|
|
16
|
-
*/
|
|
17
|
-
static isAbsoluteUrl(url: string): boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Get the values of an object.
|
|
20
|
-
*/
|
|
21
|
-
static objectValues(obj: any): any[];
|
|
22
|
-
/**
|
|
23
|
-
* Convert a relative URL to an absolute URL based on a given base URL.
|
|
24
|
-
* @param baseUrl - The base url.
|
|
25
|
-
* @param relativeUrl - The relative url.
|
|
26
|
-
* @returns The resolved url.
|
|
27
|
-
*/
|
|
28
|
-
static resolveAbsoluteUrl(baseUrl: string, relativeUrl: string): string;
|
|
29
|
-
private static _stringToPath;
|
|
30
|
-
private static _formatRelativePath;
|
|
31
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Script } from "../../Script";
|
|
2
|
-
import { EnumXRInputSource } from "../enum/EnumXRInputSource";
|
|
3
|
-
import { EnumXRTrackingMode } from "../enum/EnumXRTrackingMode";
|
|
4
|
-
export declare class XRPoseDriver extends Script {
|
|
5
|
-
source: EnumXRInputSource;
|
|
6
|
-
updateType: EnumXRTrackingMode;
|
|
7
|
-
private _xrManager;
|
|
8
|
-
onLateUpdate(): void;
|
|
9
|
-
onAwake(): void;
|
|
10
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Matrix, Quaternion, Vector3 } from "@galacean/engine-math";
|
|
2
|
-
import { EnumXRDevicePhase } from "../enum/EnumXRDevicePhase";
|
|
3
|
-
export declare class XRDevice {
|
|
4
|
-
matrix: Matrix;
|
|
5
|
-
position: Vector3;
|
|
6
|
-
linearVelocity: Vector3;
|
|
7
|
-
quaternion: Quaternion;
|
|
8
|
-
phase: EnumXRDevicePhase;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { XRDevice } from "./XRDevice";
|
|
2
|
-
import { EnumXRButton } from "../enum/EnumXRButton";
|
|
3
|
-
import { DisorderedArray } from "../../DisorderedArray";
|
|
4
|
-
export declare class XRHandle extends XRDevice {
|
|
5
|
-
pressedButtons: EnumXRButton;
|
|
6
|
-
upMap: number[];
|
|
7
|
-
downMap: number[];
|
|
8
|
-
upList: DisorderedArray<EnumXRButton>;
|
|
9
|
-
downList: DisorderedArray<EnumXRButton>;
|
|
10
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Camera } from "../../Camera";
|
|
2
|
-
import { EnumXRInputSource } from "../enum/EnumXRInputSource";
|
|
3
|
-
import { XRFeature } from "./XRFeature";
|
|
4
|
-
export declare class XRCameraManager extends XRFeature {
|
|
5
|
-
private _cameras;
|
|
6
|
-
private _automaticNear;
|
|
7
|
-
private _customNear;
|
|
8
|
-
private _automaticFar;
|
|
9
|
-
private _customFar;
|
|
10
|
-
get near(): number;
|
|
11
|
-
set near(value: number);
|
|
12
|
-
get far(): number;
|
|
13
|
-
set far(value: number);
|
|
14
|
-
attachCamera(source: EnumXRInputSource, camera: Camera): void;
|
|
15
|
-
detachCamera(source: EnumXRInputSource): void;
|
|
16
|
-
getCamera(source: EnumXRInputSource): Camera;
|
|
17
|
-
onUpdate(): void;
|
|
18
|
-
onEnable(): void;
|
|
19
|
-
onDisable(): void;
|
|
20
|
-
onDestroy(): void;
|
|
21
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Entity } from "../../Entity";
|
|
2
|
-
import { XRFeature } from "./XRFeature";
|
|
3
|
-
export declare class XRImageTrackManager extends XRFeature {
|
|
4
|
-
addImage(): void;
|
|
5
|
-
removeImage(): void;
|
|
6
|
-
getTrackedObject(): Entity;
|
|
7
|
-
onEnable(): void;
|
|
8
|
-
onDisable(): void;
|
|
9
|
-
onDestroy(): void;
|
|
10
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { Engine } from "../../Engine";
|
|
2
|
-
import { XRDevice } from "../data/XRDevice";
|
|
3
|
-
import { EnumXRButton } from "../enum/EnumXRButton";
|
|
4
|
-
import { EnumXRInputSource } from "../enum/EnumXRInputSource";
|
|
5
|
-
import { XRFeature } from "./XRFeature";
|
|
6
|
-
export declare class XRInputManager extends XRFeature {
|
|
7
|
-
private _subSystem;
|
|
8
|
-
getDevice<T extends XRDevice>(source: EnumXRInputSource): T;
|
|
9
|
-
isButtonDown(handedness: EnumXRInputSource, button: EnumXRButton): boolean;
|
|
10
|
-
isButtonUp(handedness: EnumXRInputSource, button: EnumXRButton): boolean;
|
|
11
|
-
isButtonHeldDown(handedness: EnumXRInputSource, button: EnumXRButton): boolean;
|
|
12
|
-
onEnable(): void;
|
|
13
|
-
onDisable(): void;
|
|
14
|
-
onDestroy(): void;
|
|
15
|
-
constructor(engine: Engine);
|
|
16
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { EnumXRMode } from "../enum/EnumXRMode";
|
|
2
|
-
import { EnumXRTrackingMode } from "../enum/EnumXRTrackingMode";
|
|
3
|
-
import { XRSubsystem } from "../subsystem/XRSubsystem";
|
|
4
|
-
import { Engine } from "../../Engine";
|
|
5
|
-
import { EnumXRSubsystem } from "../enum/EnumXRSubsystem";
|
|
6
|
-
export declare class XRProvider {
|
|
7
|
-
name: string;
|
|
8
|
-
protected _engine: Engine;
|
|
9
|
-
isSupportedMode(mode: EnumXRMode): Promise<void>;
|
|
10
|
-
isSupportedTrackingMode(mode: EnumXRTrackingMode): Promise<void>;
|
|
11
|
-
isSupportedSubsystem(feature: number): Promise<void>;
|
|
12
|
-
createSubsystem<T extends XRSubsystem>(feature: number): Promise<T>;
|
|
13
|
-
initialize(mode: EnumXRMode, trackingMode: EnumXRTrackingMode, subsystems: EnumXRSubsystem[]): Promise<XRSubsystem[]>;
|
|
14
|
-
start(): Promise<void>;
|
|
15
|
-
onUpdate(): void;
|
|
16
|
-
onLateUpdate(): void;
|
|
17
|
-
onDestroy(): void;
|
|
18
|
-
constructor(engine: Engine);
|
|
19
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Engine } from "../../Engine";
|
|
2
|
-
export declare abstract class XRSubsystem {
|
|
3
|
-
running: boolean;
|
|
4
|
-
_engine: Engine;
|
|
5
|
-
/**
|
|
6
|
-
* Starts an instance of a system.
|
|
7
|
-
* This method needs to be override.
|
|
8
|
-
* @returns
|
|
9
|
-
*/
|
|
10
|
-
start(): Promise<void>;
|
|
11
|
-
/**
|
|
12
|
-
* Stops an instance of a system.
|
|
13
|
-
* This method needs to be override.
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
stop(): Promise<void>;
|
|
17
|
-
/**
|
|
18
|
-
* Destroys this instance of a system.
|
|
19
|
-
* This method needs to be override.
|
|
20
|
-
* @returns
|
|
21
|
-
*/
|
|
22
|
-
destroy(): Promise<void>;
|
|
23
|
-
/**
|
|
24
|
-
* Update this instance of a system.
|
|
25
|
-
* This method needs to be override.
|
|
26
|
-
* @returns
|
|
27
|
-
*/
|
|
28
|
-
update(): void;
|
|
29
|
-
constructor(engine: Engine);
|
|
30
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|