C# Class Artemis.Engine.ResolutionRelativeObject

Inheritance: ArtemisObject
Afficher le fichier Open project: ArtemisEngine/Artemis-Engine Class Usage Examples

Méthodes publiques

Свойство Type Description
MaintainAspectRatio bool
OnResolutionChanged ResolutionChangedDelegate
ScaleType ResolutionScaleType
UseTargetRelativePositioning bool

Méthodes publiques

Méthode Description
Kill ( ) : void

Private Methods

Méthode Description
ResolutionRelativeObject ( ) : Artemis.Engine.Utilities

Method Details

Kill() public méthode

public Kill ( ) : void
Résultat void

Property Details

MaintainAspectRatio public_oe property

Whether or not to maintain the aspect ratio of this object upon dynamically scaling it to match the current resolution.
public bool MaintainAspectRatio
Résultat bool

OnResolutionChanged public_oe property

The event fired when the resolution is changed (assuming the object is decorated with a `ResolutionChangedListener` attribute).
public ResolutionChangedDelegate OnResolutionChanged
Résultat ResolutionChangedDelegate

ScaleType public_oe property

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
Résultat ResolutionScaleType

UseTargetRelativePositioning public_oe property

Whether or not the position of this object is a Target coordinate, as opposed to a World coordinate.
public bool UseTargetRelativePositioning
Résultat bool