Property | Type | Description | |
---|---|---|---|
ContainerBottomBound | Transform | ||
ContainerTopBound | Transform | ||
ContentBottomBound | Transform | ||
ContentTopBound | Transform | ||
ContentTransform | Transform | ||
Drag | float | ||
InteractionScale | float | ||
SnapSpringForce | float |
Property | Type | Description | |
---|---|---|---|
m_contentPivot | Vector3 | ||
m_dampingForce | float | ||
m_velocity | float |
Method | Description | |
---|---|---|
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 | ||
return | void |
protected calculate1DSpringForce ( float offsetVector ) : float | ||
offsetVector | float | |
return | float |
protected calculateOverrunMagnitude ( ) : float | ||
return | float |