This class stores data helpful in the DSRestacker "fan stack" calculations.
◆ DSFanStackInfo()
DeckStacker.DSFanStackInfo.DSFanStackInfo |
( |
DSStack | fanStack_, |
|
|
Vector3 | newLocalPos_ ) |
|
inline |
- fanStack = caches this value so properties can access it during restack operations.
- newLocalPos = used in restack operations
◆ GetLerpAmount()
float DeckStacker.DSFanStackInfo.GetLerpAmount |
( |
| ) |
|
|
inline |
Returns an evaluation of yOffsetCurve based on percentOfWidth
◆ cardSpacing
float DeckStacker.DSFanStackInfo.cardSpacing |
|
get |
Returns the stack's current card spacing settings for fans
◆ maxYOffset
float DeckStacker.DSFanStackInfo.maxYOffset |
|
getset |
Returns the stack's current settings for the maximum Y offset this fan will do with cards.
◆ maxZRotation
float DeckStacker.DSFanStackInfo.maxZRotation |
|
get |
Returns the stack's current settings for the maximum X rotation this fan will do with cards.
◆ percentOfWidth
float DeckStacker.DSFanStackInfo.percentOfWidth |
|
get |
Used for calculating card positioning in restack code.
◆ stackTransform
Transform DeckStacker.DSFanStackInfo.stackTransform |
|
get |
◆ stackWidth
float DeckStacker.DSFanStackInfo.stackWidth |
|
get |
Returns the rect width of the cardStackParent of the stack that generated this object.
◆ startX
float DeckStacker.DSFanStackInfo.startX |
|
get |
Used for calculating card positioning in restack code.
◆ yOffsetCurve
AnimationCurve DeckStacker.DSFanStackInfo.yOffsetCurve |
|
getset |
Returns the stack's current settings for the Y offset curve for fanning cards.
The documentation for this class was generated from the following file: