RowFan stacks require extra data for card spacing and positioning.
This class provides that data, which is saved in a DSCardSpacingSettingsSO scriptable object.
◆ DSCardSpacingFan() [1/2]
DeckStacker.DSCardSpacingFan.DSCardSpacingFan |
( |
| ) |
|
|
inline |
Constructor used for Inspector initialization. Default values are used.
◆ DSCardSpacingFan() [2/2]
◆ cardSpacing
float DeckStacker.DSCardSpacingFan.cardSpacing |
|
getset |
The spacing amount between cards.
◆ maxYOffset
float DeckStacker.DSCardSpacingFan.maxYOffset |
|
getset |
The max amount a fanned row will offset, vertically.
◆ maxZRotation
float DeckStacker.DSCardSpacingFan.maxZRotation |
|
getset |
The max amount a fanned card will rotation (Z rotation).
This rotation is symmetrical.
◆ yOffsetCurve
AnimationCurve DeckStacker.DSCardSpacingFan.yOffsetCurve |
|
getset |
Influences the Y offset to create the curved "card hand" look in a stack
The documentation for this class was generated from the following file: