Add spatial parent to all object factories
This commit is contained in:
@@ -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]`.
|
||||
### `createSphereField(string name, string spacePath, Vector3 origin, float radius)`
|
||||
Creates a new [SphereField](../types/field/SphereField.md) at `/field/[name]` with parent at `spacePath`.
|
||||
Reference in New Issue
Block a user