C# Класс FlatRedBall.Content.AnimationChain.AnimationFrameSaveBase

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
BottomCoordinate float
FlipHorizontal bool
FlipVertical bool
FrameLength float
LeftCoordinate float
RelativeX float
RelativeY float
RightCoordinate float
TextureName string
TopCoordinate float

Открытые методы

Метод Описание
ShouldSerializeFlipHorizontal ( ) : bool
ShouldSerializeFlipVertical ( ) : bool
ShouldSerializeRelativeX ( ) : bool
ShouldSerializeRelativeY ( ) : bool

Описание методов

ShouldSerializeFlipHorizontal() публичный Метод

public ShouldSerializeFlipHorizontal ( ) : bool
Результат bool

ShouldSerializeFlipVertical() публичный Метод

public ShouldSerializeFlipVertical ( ) : bool
Результат bool

ShouldSerializeRelativeX() публичный Метод

public ShouldSerializeRelativeX ( ) : bool
Результат bool

ShouldSerializeRelativeY() публичный Метод

public ShouldSerializeRelativeY ( ) : bool
Результат bool

Описание свойств

BottomCoordinate публичное свойство

The bottom coordinate in texture coordinates of the AnimationFrame. Default is 1.
public float BottomCoordinate
Результат float

FlipHorizontal публичное свойство

Whether the texture should be flipped horizontally.
public bool FlipHorizontal
Результат bool

FlipVertical публичное свойство

Whether the texture should be flipped on the vertidally.
public bool FlipVertical
Результат bool

FrameLength публичное свойство

The amount of time in seconds the AnimationFrame should be shown for.
public float FrameLength
Результат float

LeftCoordinate публичное свойство

The left coordinate in texture coordinates of the AnimationFrame. Default is 0.
public float LeftCoordinate
Результат float

RelativeX публичное свойство

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
Результат float

RelativeY публичное свойство

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
Результат float

RightCoordinate публичное свойство

The right coordinate in texture coordinates of the AnimationFrame. Default is 1.
public float RightCoordinate
Результат float

TextureName публичное свойство

Used in XML Serialization of AnimationChains - this should not explicitly be set by the user.
public string TextureName
Результат string

TopCoordinate публичное свойство

The top coordinate in texture coordinates of the AnimationFrame. Default is 0.
public float TopCoordinate
Результат float