Свойство | Тип | Описание | |
---|---|---|---|
ContainerBottomBound | Transform | ||
ContainerTopBound | Transform | ||
ContentBottomBound | Transform | ||
ContentTopBound | Transform | ||
ContentTransform | Transform | ||
Drag | float | ||
InteractionScale | float | ||
SnapSpringForce | float |
Свойство | Тип | Описание | |
---|---|---|---|
m_contentPivot | Vector3 | ||
m_dampingForce | float | ||
m_velocity | float |
Метод | Описание | |
---|---|---|
ApplyConstraints ( ) : void | ||
ApplyInteractions ( ) : void | ||
ApplyPhysics ( ) : void | ||
ResetPivots ( ) : void | ||
Start ( ) : void | ||
applyDrag ( ) : void | ||
applyOverrunSpringForces ( ) : void |
Applies a spring force to velocity to return content to scroller bounds.
|
|
applyVelocity ( ) : void | ||
calculate1DSpringForce ( float offsetVector ) : float | ||
calculateOverrunMagnitude ( ) : float |
protected applyOverrunSpringForces ( ) : void | ||
Результат | void |
protected calculate1DSpringForce ( float offsetVector ) : float | ||
offsetVector | float | |
Результат | float |
protected calculateOverrunMagnitude ( ) : float | ||
Результат | float |