Class ScanPatternHandler
Base class for scan patterns.
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. |