TranslateFloatingOrigin
method in Coherence.Toolkit.CoherenceBridge
Methods
public bool TranslateFloatingOrigin(Vector3d translation)
Moves the floating point origin by a translation vector.
Only works if bridge isConnected, otherwise nothing happens.
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3d | translation |
Returns
| Type | Description |
|---|---|
| bool | Returns true if the floating origin was shifted, false if bridge was not connected. |
public bool TranslateFloatingOrigin(Vector3 translation)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | translation |
Returns
| Type | Description |
|---|---|
| bool |