C# Class Artemis.Engine.ResolutionRelativeObject

Inheritance: ArtemisObject
Datei anzeigen Open project: ArtemisEngine/Artemis-Engine Class Usage Examples

Public Properties

Property Type Description
MaintainAspectRatio bool
OnResolutionChanged ResolutionChangedDelegate
ScaleType ResolutionScaleType
UseTargetRelativePositioning bool

Public Methods

Method Description
Kill ( ) : void

Private Methods

Method Description
ResolutionRelativeObject ( ) : Artemis.Engine.Utilities

Method Details

Kill() public method

public Kill ( ) : void
return 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
return 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
return 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
return 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
return bool