C# Класс Artemis.Engine.ResolutionRelativeObject

Наследование: ArtemisObject
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
MaintainAspectRatio bool
OnResolutionChanged ResolutionChangedDelegate
ScaleType ResolutionScaleType
UseTargetRelativePositioning bool

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

Метод Описание
Kill ( ) : void

Приватные методы

Метод Описание
ResolutionRelativeObject ( ) : Artemis.Engine.Utilities

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

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

public Kill ( ) : void
Результат void

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

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

Whether or not to maintain the aspect ratio of this object upon dynamically scaling it to match the current resolution.
public bool MaintainAspectRatio
Результат bool

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

The event fired when the resolution is changed (assuming the object is decorated with a `ResolutionChangedListener` attribute).
public ResolutionChangedDelegate OnResolutionChanged
Результат ResolutionChangedDelegate

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

Determines how to dynamically scale the object to match the current resolution. For more information on the definition of individual values, see ResolutionScaleType.
public ResolutionScaleType ScaleType
Результат ResolutionScaleType

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

Whether or not the position of this object is a Target coordinate, as opposed to a World coordinate.
public bool UseTargetRelativePositioning
Результат bool