@hytopia.com/server-protocol 1.3.9 → 1.3.11
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 +1 -1
- package/schemas/Camera.ts +2 -0
package/package.json
CHANGED
package/schemas/Camera.ts
CHANGED
|
@@ -11,6 +11,7 @@ export type CameraSchema = {
|
|
|
11
11
|
fv?: number // field of view
|
|
12
12
|
p?: VectorSchema // position to fix camera at
|
|
13
13
|
pt?: VectorSchema // position to track
|
|
14
|
+
pl?: VectorSchema // position to look at
|
|
14
15
|
h?: string[] // player model parts to hide by partial case insensitive match of gltf node names
|
|
15
16
|
o?: VectorSchema // offset - positional relative to target
|
|
16
17
|
z?: number // zoom
|
|
@@ -27,6 +28,7 @@ export const cameraSchema: JSONSchemaType<CameraSchema> = {
|
|
|
27
28
|
fv: { type: 'number', nullable: true },
|
|
28
29
|
p: { ...vectorSchema, nullable: true },
|
|
29
30
|
pt: { ...vectorSchema, nullable: true },
|
|
31
|
+
pl: { ...vectorSchema, nullable: true },
|
|
30
32
|
h: { type: 'array', items: { type: 'string' }, nullable: true },
|
|
31
33
|
o: { ...vectorSchema, nullable: true },
|
|
32
34
|
z: { type: 'number', nullable: true },
|