Interface IDrawableInfoComponent
Adds the ability for an entity to configure various aspects of how it is rendered.
Inherited Members
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface IDrawableInfoComponent : IComponent, IDisposable, INotifyPropertyChanged
Properties
| Improve this Doc View SourceIgnoreScalingArea
Gets or sets a value indicating whether this entity's scaling is not affected by scaling areas in the room. If the scaling areas are ignored, then the entity will keep its scale even if it's "sitting" in a scaling areas. Therefore, it's on by default for GUI controls which usually are not part of the game world itself.
Declaration
bool IgnoreScalingArea { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
IgnoreViewport
Gets or sets a value indicating whether this entity's position is not affected by the viewport. If the viewport is ignored, then the entity will remain on the same place on the screen even if the camera moves around. Therefore, it's on by default for GUI controls which usually are not part of the game world itself.
Declaration
bool IgnoreViewport { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
RenderLayer
Gets or sets the render layer associated with the entity.
Declaration
IRenderLayer RenderLayer { get; set; }
Property Value
Type | Description |
---|---|
IRenderLayer | The render layer. |