C# Класс ScrollBase

Наследование: LMWidgets.LeapPhysicsBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ContainerBottomBound Transform
ContainerTopBound Transform
ContentBottomBound Transform
ContentTopBound Transform
ContentTransform Transform
Drag float
InteractionScale float
SnapSpringForce float

Защищенные свойства (Protected)

Свойство Тип Описание
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

Описание методов

ApplyConstraints() защищенный Метод

protected ApplyConstraints ( ) : void
Результат void

ApplyInteractions() защищенный Метод

protected ApplyInteractions ( ) : void
Результат void

ApplyPhysics() защищенный Метод

protected ApplyPhysics ( ) : void
Результат void

ResetPivots() защищенный Метод

protected ResetPivots ( ) : void
Результат void

Start() защищенный Метод

protected Start ( ) : void
Результат void

applyDrag() защищенный Метод

protected applyDrag ( ) : void
Результат void

applyOverrunSpringForces() защищенный Метод

Applies a spring force to velocity to return content to scroller bounds.
protected applyOverrunSpringForces ( ) : void
Результат void

applyVelocity() защищенный Метод

protected applyVelocity ( ) : void
Результат void

calculate1DSpringForce() защищенный Метод

protected calculate1DSpringForce ( float offsetVector ) : float
offsetVector float
Результат float

calculateOverrunMagnitude() защищенный Метод

protected calculateOverrunMagnitude ( ) : float
Результат float

Описание свойств

ContainerBottomBound публичное свойство

public Transform ContainerBottomBound
Результат Transform

ContainerTopBound публичное свойство

public Transform ContainerTopBound
Результат Transform

ContentBottomBound публичное свойство

public Transform ContentBottomBound
Результат Transform

ContentTopBound публичное свойство

public Transform ContentTopBound
Результат Transform

ContentTransform публичное свойство

public Transform ContentTransform
Результат Transform

Drag публичное свойство

public float Drag
Результат float

InteractionScale публичное свойство

public float InteractionScale
Результат float

SnapSpringForce публичное свойство

public float SnapSpringForce
Результат float

m_contentPivot защищенное свойство

protected Vector3 m_contentPivot
Результат Vector3

m_dampingForce защищенное свойство

protected float m_dampingForce
Результат float

m_velocity защищенное свойство

protected float m_velocity
Результат float