@ringozz/godot 4.7.2-700 → 4.8.0-700
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/gen/classes/Light3D.ts
CHANGED
|
@@ -314,7 +314,7 @@ export const BakeMode = {
|
|
|
314
314
|
/**
|
|
315
315
|
* Light is taken into account in static baking ({@link VoxelGI}, {@link LightmapGI}, SDFGI ({@link Environment.sdfgiEnabled})). The light can be moved around or modified, but its global illumination will not update in real-time.
|
|
316
316
|
* **Note:** The light is not baked in {@link LightmapGI} if {@link editorOnly} is `true`.
|
|
317
|
-
* **Note:** When using {@link LightmapGI}, both the direct and indirect light are baked. Since direct light is baked, the light doesn't display a specular lobe on static lightmapped meshes.
|
|
317
|
+
* **Note:** When using {@link LightmapGI}, both the direct and indirect light are baked. Since direct light is baked, the light doesn't display a specular lobe by default on static lightmapped meshes ({@link LightmapGI.specularIntensity} can be enabled to get an approximation). The light will also not be able to cast shadows for dynamic objects onto static objects, although dynamic objects can still receive real-time shadows from other static or dynamic objects. Since real-time light computations are skipped on static lightmapped meshes, this bake mode improves runtime performance compared to {@link BAKE_DYNAMIC} and {@link BAKE_DISABLED}.
|
|
318
318
|
*/
|
|
319
319
|
BAKE_STATIC: 1,
|
|
320
320
|
/**
|
|
@@ -146,7 +146,7 @@ export class Skeleton3D extends Node3D {
|
|
|
146
146
|
setBonePose(boneIdx: number, pose: Transform3D): void { _C(this, 10933, boneIdx, pose); }
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
|
-
* Sets the pose position of the bone at `boneIdx` to `position`. `position` is a {@link Vector3} describing a position local
|
|
149
|
+
* Sets the pose position of the bone at `boneIdx` to `position`. `position` is a {@link Vector3} describing a position in the local coordinate space of the bone's parent, or of the {@link Skeleton3D} node if the bone has no parent.
|
|
150
150
|
*/
|
|
151
151
|
setBonePosePosition(boneIdx: number, position: Vector3): void { _C(this, 10934, boneIdx, position); }
|
|
152
152
|
|
|
@@ -161,7 +161,7 @@ export class Skeleton3D extends Node3D {
|
|
|
161
161
|
setBonePoseScale(boneIdx: number, scale: Vector3): void { _C(this, 10936, boneIdx, scale); }
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
* Returns the pose position of the bone at `boneIdx`. The returned {@link Vector3} is in the local coordinate space of the {@link Skeleton3D} node.
|
|
164
|
+
* Returns the pose position of the bone at `boneIdx`. The returned {@link Vector3} is in the local coordinate space of the bone's parent, or of the {@link Skeleton3D} node if the bone has no parent.
|
|
165
165
|
*/
|
|
166
166
|
getBonePosePosition(boneIdx: number): Vector3 { return _C(this, 4044, boneIdx) as Vector3; }
|
|
167
167
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ringozz/godot",
|
|
3
3
|
"author": "Vladimir Davidovich",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.8.0-700",
|
|
5
5
|
"description": "Node-API bindings for Godot Engine — call Godot classes from JavaScript",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -61,15 +61,15 @@
|
|
|
61
61
|
"version_major": 4,
|
|
62
62
|
"version_minor": 8,
|
|
63
63
|
"version_patch": 0,
|
|
64
|
-
"version_status": "
|
|
64
|
+
"version_status": "rc2",
|
|
65
65
|
"version_build": "official",
|
|
66
|
-
"version_full_name": "Godot Engine v4.8.
|
|
66
|
+
"version_full_name": "Godot Engine v4.8.rc2.official",
|
|
67
67
|
"precision": "single"
|
|
68
68
|
},
|
|
69
69
|
"optionalDependencies": {
|
|
70
|
-
"@ringozz/godot-macos-arm64": "^4.
|
|
71
|
-
"@ringozz/godot-windows-x86_64": "^4.
|
|
72
|
-
"@ringozz/godot-web-wasm32": "^4.
|
|
70
|
+
"@ringozz/godot-macos-arm64": "^4.8.0-700",
|
|
71
|
+
"@ringozz/godot-windows-x86_64": "^4.8.0-700",
|
|
72
|
+
"@ringozz/godot-web-wasm32": "^4.8.0-700"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"@types/bun": "*"
|