From 7fea6f97f5b34c2b94d9592febc1abe9205d6f7b Mon Sep 17 00:00:00 2001 From: Nova Date: Mon, 27 Sep 2021 13:58:46 -0500 Subject: [PATCH] Add spatial parent to all object factories --- docs/stardust-protocol/server/objects/field.md | 8 ++++---- docs/stardust-protocol/server/objects/model.md | 4 ++-- docs/stardust-protocol/server/objects/spatial.md | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/stardust-protocol/server/objects/field.md b/docs/stardust-protocol/server/objects/field.md index dc617496..b3d25d7f 100644 --- a/docs/stardust-protocol/server/objects/field.md +++ b/docs/stardust-protocol/server/objects/field.md @@ -3,9 +3,9 @@ Object managing fields for interaction. ## Signals -### `createBoxField(string name, Vector3 origin, Quaternion orientation, Vector3 size)` -Creates a new [BoxField](../types/field/BoxField.md) at `/field/[name]`. +### `createBoxField(string name, string spacePath, Vector3 origin, Quaternion orientation, Vector3 size)` +Creates a new [BoxField](../types/field/BoxField.md) at `/field/[name]` with parent at `spacePath`. -### `createSphereField(string name, Vector3 origin, float radius)` -Creates a new [SphereField](../types/field/SphereField.md) at `/field/[name]`. \ No newline at end of file +### `createSphereField(string name, string spacePath, Vector3 origin, float radius)` +Creates a new [SphereField](../types/field/SphereField.md) at `/field/[name]` with parent at `spacePath`. \ No newline at end of file diff --git a/docs/stardust-protocol/server/objects/model.md b/docs/stardust-protocol/server/objects/model.md index e6c2ef00..873a9dff 100644 --- a/docs/stardust-protocol/server/objects/model.md +++ b/docs/stardust-protocol/server/objects/model.md @@ -3,5 +3,5 @@ Object managing graphical models. ## Signals -### `createFromFile(string name, string path)` -Creates a new [Model](../types/Model.md) at `/model/[name]`. \ No newline at end of file +### `createFromFile(string name, string spacePath, string path)` +Creates a new [Model](../types/Model.md) at `/model/[name]` with parent at `spacePath`. \ No newline at end of file diff --git a/docs/stardust-protocol/server/objects/spatial.md b/docs/stardust-protocol/server/objects/spatial.md index 61ae922f..5d23f9ff 100644 --- a/docs/stardust-protocol/server/objects/spatial.md +++ b/docs/stardust-protocol/server/objects/spatial.md @@ -3,5 +3,5 @@ Object managing spatial nodes for parenting. ## Signals -### `create(string name, Vector3 origin, Quat orientation, Vector3 scale, bool translatable, bool rotatable, bool scalable)` -Creates a new [Spatial](../types/Spatial.md) at `/spatial/[name]`. \ No newline at end of file +### `create(string name, string spacePath, Vector3 origin, Quat orientation, Vector3 scale, bool translatable, bool rotatable, bool scalable)` +Creates a new [Spatial](../types/Spatial.md) at `/spatial/[name]` with parent at `spacePath`. \ No newline at end of file