日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    TestPointer
    Namespace: Microsoft.MixedReality.Toolkit.Tests
    Assembly: cs.temp.dll.dll
    Syntax
    public class TestPointer : GenericPointer

    Constructors

    TestPointer()

    Declaration
    public TestPointer()

    Properties

    Position

    Declaration
    public override Vector3 Position { get; }
    Property Value
    Type Description
    Vector3

    Rotation

    Declaration
    public override Quaternion Rotation { get; }
    Property Value
    Type Description
    Quaternion

    Methods

    OnPostSceneQuery()

    Declaration
    public override void OnPostSceneQuery()

    OnPreCurrentPointerTargetChange()

    Declaration
    public override void OnPreCurrentPointerTargetChange()

    OnPreSceneQuery()

    Declaration
    public override void OnPreSceneQuery()

    Reset()

    Declaration
    public override void Reset()

    SetFromTestProxy(FocusRaycastTestProxy)

    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
    Type Name Description
    FocusRaycastTestProxy testProxy
    Back to top Generated by DocFX