C# Class FlatRedBall.Content.AnimationChain.AnimationFrameSaveBase

Datei anzeigen Open project: vchelaru/FlatRedBall

Public Properties

Property Type Description
BottomCoordinate float
FlipHorizontal bool
FlipVertical bool
FrameLength float
LeftCoordinate float
RelativeX float
RelativeY float
RightCoordinate float
TextureName string
TopCoordinate float

Public Methods

Method Description
ShouldSerializeFlipHorizontal ( ) : bool
ShouldSerializeFlipVertical ( ) : bool
ShouldSerializeRelativeX ( ) : bool
ShouldSerializeRelativeY ( ) : bool

Method Details

ShouldSerializeFlipHorizontal() public method

public ShouldSerializeFlipHorizontal ( ) : bool
return bool

ShouldSerializeFlipVertical() public method

public ShouldSerializeFlipVertical ( ) : bool
return bool

ShouldSerializeRelativeX() public method

public ShouldSerializeRelativeX ( ) : bool
return bool

ShouldSerializeRelativeY() public method

public ShouldSerializeRelativeY ( ) : bool
return bool

Property Details

BottomCoordinate public_oe property

The bottom coordinate in texture coordinates of the AnimationFrame. Default is 1.
public float BottomCoordinate
return float

FlipHorizontal public_oe property

Whether the texture should be flipped horizontally.
public bool FlipHorizontal
return bool

FlipVertical public_oe property

Whether the texture should be flipped on the vertidally.
public bool FlipVertical
return bool

FrameLength public_oe property

The amount of time in seconds the AnimationFrame should be shown for.
public float FrameLength
return float

LeftCoordinate public_oe property

The left coordinate in texture coordinates of the AnimationFrame. Default is 0.
public float LeftCoordinate
return float

RelativeX public_oe property

The relative X position of the object that is using this AnimationFrame. This is only applied if the IAnimationChainAnimatable's UseAnimationRelativePosition is set to true.
public float RelativeX
return float

RelativeY public_oe property

The relative Y position of the object that is using this AnimationFrame. This is only applied if the IAnimationChainAnimatable's UseAnimationRelativePosition is set to true.
public float RelativeY
return float

RightCoordinate public_oe property

The right coordinate in texture coordinates of the AnimationFrame. Default is 1.
public float RightCoordinate
return float

TextureName public_oe property

Used in XML Serialization of AnimationChains - this should not explicitly be set by the user.
public string TextureName
return string

TopCoordinate public_oe property

The top coordinate in texture coordinates of the AnimationFrame. Default is 0.
public float TopCoordinate
return float