Struct VolumeElasticExtent
Properties of a three-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 VolumeElasticExtent
Fields
RepeatSnapPoints
Declaration
public bool RepeatSnapPoints
Field Value
Type | Description |
---|---|
Boolean | Should the SnapPoints be "tiled" to infinity? If so, the existing snap points will serve as "modulo" values, where the actual snap points that are used are simply the closest integer multiples of every SnapPoint. |
SnapPoints
Declaration
public Vector3[] SnapPoints
Field Value
Type | Description |
---|---|
Vector3[] | 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. |
StretchBounds
Declaration
public Bounds StretchBounds
Field Value
Type | Description |
---|---|
Bounds | Represents the lower bound of the extent. |
UseBounds
Whether the bounds should be respected by the system.
Declaration
public bool UseBounds
Field Value
Type | Description |
---|---|
Boolean |