Update for rust
This commit is contained in:
13
docs-archive/stardust-protocol/server/objects/field.md
Normal file
13
docs-archive/stardust-protocol/server/objects/field.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# /field
|
||||
|
||||
Object managing fields for interaction.
|
||||
|
||||
## Signals
|
||||
### `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`.
|
||||
|
||||
### `createCylinderField(string name, string spacePath, Vector3 origin, Quaternion orientation, float length, float radius)`
|
||||
Creates a new [CylinderField](../types/field/CylinderField.md) at `/field/[name]` with parent at `spacePath`.
|
||||
|
||||
### `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