TargetFieldOptions
What target takes.
Properties
Section titled “Properties”| Property | Type | Default value | Description |
|---|---|---|---|
optional? |
boolean |
false |
Whether the field may hold null instead of an entity. |
range |
number |
undefined |
Metres between the acting entity’s position and the target’s, as checkTarget’s range measures, at most: a hand that reaches high needs a range that covers the height. Infinity leaves the check to the reader, which reads the target’s place with readViewPosition. |
rewind? |
RewindBounds |
defaultRewindBounds |
How far back the room may read a streamed target’s place. |
smoothing? |
Partial<CorrectionSmoothing> |
defaultCorrectionSmoothing |
How a correction of the target’s guessed traits is drawn, as a control’s smoothing. |