Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.GameContent.Animations.Segments.SpriteSegment Class Reference

Classes

interface  IShaderEffect
 
class  MaskedFadeEffect
 

Public Member Functions

 SpriteSegment (Asset< Texture2D > asset, int targetTime, DrawData data, Vector2 anchorOffset)
 
SpriteSegment UseShaderEffect (IShaderEffect shaderEffect)
 
override void Draw (ref GameAnimationSegment info)
 
AnimationSegmentWithActions< T > Then (IAnimationSegmentAction< T > act)
 
AnimationSegmentWithActions< T > With (IAnimationSegmentAction< T > act)
 

Protected Member Functions

override void Bind (IAnimationSegmentAction< LooseSprite > act)
 
void ProcessActions (T obj, float localTimeForObject)
 
void Bind (IAnimationSegmentAction< T > act)
 

Protected Attributes

int _targetTime
 

Properties

float DedicatedTimeNeeded [get]
 

Private Member Functions

void ResetSpriteAnimation (ref GameAnimationSegment info)
 

Private Attributes

LooseSprite _sprite
 
Vector2 _anchorOffset
 
IShaderEffect _shaderEffect
 
int _dedicatedTimeNeeded
 
int _lastDedicatedTimeNeeded
 
List< IAnimationSegmentAction< T > > _actions
 

Detailed Description

Definition at line 298 of file Segments.cs.


The documentation for this class was generated from the following file: