Struct LinearElasticExtent
Properties of a linear, one-dimensional extent in which a damped harmonic oscillator is free to move.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Experimental.Physics
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public struct LinearElasticExtent
Fields
MaxStretch
Declaration
public float MaxStretch
Field Value
Type | Description |
---|---|
Single | Represents the upper bound of the extent. |
MinStretch
Declaration
public float MinStretch
Field Value
Type | Description |
---|---|
Single | Represents the lower bound of the extent. |
SnapPoints
Declaration
public float[] SnapPoints
Field Value
Type | Description |
---|---|
Single[] | Points inside the extent to which the system will snap. |
SnapRadius
Declaration
public float SnapRadius
Field Value
Type | Description |
---|---|
Single | Distance at which snap points begin forcing the spring. |
SnapToEnds
Declaration
public bool SnapToEnds
Field Value
Type | Description |
---|---|
Boolean | Whether the system, when approaching the upper bound, will treat the end limits like snap points and magnetize to them. |