Class TestPointer
A simple pointer that is just used for Unity play mode tests. It doesn't update anything itself -
it is expected that any test using it will manually update data as necessary.
If you would like to setup pointer parameters in data (e.g. a prefab), you can use
FocusRaycastTestProxy.
Assembly: cs.temp.dll.dll
public class TestPointer : GenericPointer
Constructors
Declaration
Properties
Declaration
public override Vector3 Position { get; }
Property Value
Declaration
public override Quaternion Rotation { get; }
Property Value
Type |
Description |
Quaternion |
|
Methods
OnPostSceneQuery()
Declaration
public override void OnPostSceneQuery()
Declaration
public override void OnPreCurrentPointerTargetChange()
Declaration
public override void OnPreSceneQuery()
Declaration
public override void Reset()
Initialize all applicable settings on this pointer from testProxy
and then set this pointer active,
so that it will update its Result in the next Update().
Declaration
public void SetFromTestProxy(FocusRaycastTestProxy testProxy)
Parameters