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.
Implements
GenericPointer
Assembly: cs.temp.dll.dll
public class TestPointer : GenericPointer, GenericPointer
Constructors
Declaration
Declaration
Properties
Declaration
public override Vector3 Position { get; }
Property Value
Declaration
public override Vector3 Position { get; }
Property Value
Declaration
public override Quaternion Rotation { get; }
Property Value
Type |
Description |
Quaternion |
|
Declaration
public override Quaternion Rotation { get; }
Property Value
Type |
Description |
Quaternion |
|
Methods
OnPostSceneQuery()
Declaration
public override void OnPostSceneQuery()
OnPostSceneQuery()
Declaration
public override void OnPostSceneQuery()
Declaration
public override void OnPreCurrentPointerTargetChange()
Declaration
public override void OnPreCurrentPointerTargetChange()
Declaration
public override void OnPreSceneQuery()
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
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
Implements
GenericPointer