Type Alias: UseEasyStateOptions<TStateShape>
UseEasyStateOptions<
TStateShape
> =object
&StateOptions
<TStateShape
>
Defined in: online/state/useEasyState.ts:16
Type Declaration
onPlayerStateAvailable()?
optional
onPlayerStateAvailable: (id
,state
) =>void
Parameters
id
string
state
TStateShape
[PlayerEntityCollectionKey
][string
]
Returns
void
positionPrecision?
optional
positionPrecision:number
rotationPrecision?
optional
rotationPrecision:number
rotationUnits?
optional
rotationUnits:"d"
|"r"
Type Parameters
TStateShape
TStateShape
extends StateBase