docs.unity3d.com
    Show / Hide Table of Contents

    Class ScanPatternHandler

    Base class for scan patterns.

    Inheritance
    Object
    InterfaceClass
    ScanPatternHandler
    CatPattern
    CirclePattern
    Inherited Members
    InterfaceClass.monoscript
    InterfaceClass.OnCreate(IBinding)
    Namespace: Global Namespace
    Syntax
    [Serializable]
    public class ScanPatternHandler : InterfaceClass, IBindingCallbackReceiver

    Constructors

    ScanPatternHandler()

    Initializes and returns an instance of ScanPatternHandler

    Declaration
    public ScanPatternHandler()

    Fields

    sweepFrequency

    Frequency of the pattern, in Hz.

    Declaration
    public float sweepFrequency
    Field Value
    Type Description
    Single

    timeOffset

    Offset before the pattern begins, in seconds.

    Declaration
    public float timeOffset
    Field Value
    Type Description
    Single

    Methods

    EvaluatePattern(Single)

    Query the pattern at a specific time.

    Declaration
    public virtual Quaternion EvaluatePattern(float t)
    Parameters
    Type Name Description
    Single t

    Time to query, in seconds.

    Returns
    Type Description
    Quaternion

    Quaternion corresponding to the orientation to sample at.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023