@galacean/engine-design 1.6.8 → 1.6.10
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/package.json +2 -2
- package/types/IClone.d.ts +15 -0
- package/types/index.d.ts +6 -0
- package/types/input/IInputOptions.d.ts +21 -0
- package/types/input/index.d.ts +1 -0
- package/types/physics/ICharacterController.d.ts +44 -0
- package/types/physics/ICollider.d.ts +25 -0
- package/types/physics/ICollision.d.ts +36 -0
- package/types/physics/IDynamicCollider.d.ts +148 -0
- package/types/physics/IPhysics.d.ts +122 -0
- package/types/physics/IPhysicsManager.d.ts +5 -0
- package/types/physics/IPhysicsMaterial.d.ts +34 -0
- package/types/physics/IPhysicsScene.d.ts +78 -0
- package/types/physics/IStaticCollider.d.ts +19 -0
- package/types/physics/index.d.ts +11 -0
- package/types/physics/joints/IFixedJoint.d.ts +3 -0
- package/types/physics/joints/IHingeJoint.d.ts +55 -0
- package/types/physics/joints/IJoint.d.ts +53 -0
- package/types/physics/joints/ISpringJoint.d.ts +31 -0
- package/types/physics/joints/index.d.ts +4 -0
- package/types/physics/shape/IBoxColliderShape.d.ts +12 -0
- package/types/physics/shape/ICapsuleColliderShape.d.ts +21 -0
- package/types/physics/shape/IColliderShape.d.ts +48 -0
- package/types/physics/shape/IPlaneColliderShape.d.ts +6 -0
- package/types/physics/shape/ISphereColliderShape.d.ts +11 -0
- package/types/physics/shape/index.d.ts +5 -0
- package/types/renderingHardwareInterface/IHardwareRenderer.d.ts +6 -0
- package/types/renderingHardwareInterface/IPlatformPrimitive.d.ts +5 -0
- package/types/renderingHardwareInterface/IPlatformShaderProgram.d.ts +4 -0
- package/types/renderingHardwareInterface/index.d.ts +3 -0
- package/types/shader-lab/IShaderLab.d.ts +22 -0
- package/types/shader-lab/IShaderProgramSource.d.ts +4 -0
- package/types/shader-lab/index.d.ts +8 -0
- package/types/shader-lab/shaderSource/IRenderStates.d.ts +5 -0
- package/types/shader-lab/shaderSource/IShaderPassSource.d.ts +13 -0
- package/types/shader-lab/shaderSource/IShaderPosition.d.ts +3 -0
- package/types/shader-lab/shaderSource/IShaderSource.d.ts +9 -0
- package/types/shader-lab/shaderSource/IStatement.d.ts +8 -0
- package/types/shader-lab/shaderSource/ISubShaderSource.d.ts +10 -0
- package/types/xr/IXRDevice.d.ts +31 -0
- package/types/xr/IXRFrame.d.ts +13 -0
- package/types/xr/IXRInputEvent.d.ts +17 -0
- package/types/xr/IXRPose.d.ts +14 -0
- package/types/xr/IXRSession.d.ts +91 -0
- package/types/xr/feature/IXRPlatformFeature.d.ts +6 -0
- package/types/xr/feature/trackable/IXRRequestTracking.d.ts +10 -0
- package/types/xr/feature/trackable/IXRTrackablePlatformFeature.d.ts +35 -0
- package/types/xr/feature/trackable/IXRTracked.d.ts +12 -0
- package/types/xr/feature/trackable/anchor/IXRRequestAnchor.d.ts +7 -0
- package/types/xr/feature/trackable/image/IXRReferenceImage.d.ts +8 -0
- package/types/xr/feature/trackable/image/IXRRequestImage.d.ts +6 -0
- package/types/xr/feature/trackable/image/IXRTrackedImage.d.ts +8 -0
- package/types/xr/feature/trackable/plane/IXRRequestPlane.d.ts +5 -0
- package/types/xr/feature/trackable/plane/IXRTrackedPlane.d.ts +16 -0
- package/types/xr/index.d.ts +18 -0
- package/types/xr/input/IXRCamera.d.ts +11 -0
- package/types/xr/input/IXRController.d.ts +8 -0
- package/types/xr/input/IXRInput.d.ts +6 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Matrix, Rect } from "@galacean/engine-math";
|
|
2
|
+
import { IXRInput } from "./IXRInput";
|
|
3
|
+
import { IXRPose } from "../IXRPose";
|
|
4
|
+
export interface IXRCamera extends IXRInput {
|
|
5
|
+
/** The pose of the camera in XR space. */
|
|
6
|
+
pose: IXRPose;
|
|
7
|
+
/** The viewport of the camera. */
|
|
8
|
+
viewport: Rect;
|
|
9
|
+
/** The projection matrix of the camera. */
|
|
10
|
+
projectionMatrix: Matrix;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IXRInput } from "./IXRInput";
|
|
2
|
+
import { IXRPose } from "../IXRPose";
|
|
3
|
+
export interface IXRController extends IXRInput {
|
|
4
|
+
/** The grip space pose of the controller in XR space. */
|
|
5
|
+
gripPose: IXRPose;
|
|
6
|
+
/** The target ray space pose of the controller in XR space. */
|
|
7
|
+
targetRayPose: IXRPose;
|
|
8
|
+
}
|