프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 calculate1DSpringForce ( float offsetVector ) : float | ||
offsetVector | float | |
리턴 | float |