|
float | Falloff [get, set] |
| 0 = no falloff, the entire sprite is stretched 1 = stretching the center of the sprite has no effect at the edges More...
|
|
float | MaxDeformation [get, set] |
| Maximum stretch per vertex (1 = the size of the sprite) More...
|
|
float | ReactionSpeed [get, set] |
| How fast the sprite reacts to being stretched More...
|
|
float | RecoverSpeed [get, set] |
| How fast the sprite returns back to normal after stretching ends More...
|
|
int | Sync [get] |
| A negative value means that the deformation is used only by one sprite only (default). A positive value means that this deformation is or could be used for multiple sprites. This behaviour is not automatic, and has to be implemented for any particular case separately (currently only used in Limbs). More...
|
|
string | Type [get, set] |
|
SpriteDeformation.DeformationBlendMode | BlendMode [get, set] |
|
string | Name [get] |
|
float | Strength [get] |
|
float | MaxRotation [get] |
|
bool | UseMovementSine [get, set] |
|
bool | StopWhenHostIsDead [get, set] |
|
bool | OnlyInWater [get, set] |
|
float | SineOffset [get, set] |
| Only used if UseMovementSine is enabled. Multiplier for Pi. More...
|
|
virtual float | Frequency = 1 [get, set] |
|
Dictionary< Identifier, SerializableProperty > | SerializableProperties [get, set] |
|
Point | Resolution [get, set] |
|
string | Name [get] |
|
Dictionary< Identifier, SerializableProperty > | SerializableProperties [get] |
|
Definition at line 7 of file PositionalDeformation.cs.
◆ PositionalDeformationParams()
Barotrauma.SpriteDeformations.PositionalDeformationParams.PositionalDeformationParams |
( |
XElement |
element | ) |
|
◆ Falloff
float Barotrauma.SpriteDeformations.PositionalDeformationParams.Falloff |
|
getset |
0 = no falloff, the entire sprite is stretched 1 = stretching the center of the sprite has no effect at the edges
Definition at line 14 of file PositionalDeformation.cs.
◆ MaxDeformation
float Barotrauma.SpriteDeformations.PositionalDeformationParams.MaxDeformation |
|
getset |
◆ ReactionSpeed
float Barotrauma.SpriteDeformations.PositionalDeformationParams.ReactionSpeed |
|
getset |
◆ RecoverSpeed
float Barotrauma.SpriteDeformations.PositionalDeformationParams.RecoverSpeed |
|
getset |