Show / Hide Table of Contents

    Interface IDrawableInfoComponent

    Adds the ability for an entity to configure various aspects of how it is rendered.

    Inherited Members
    IComponent.Name
    IComponent.Entity
    IComponent.RegistrationType
    IComponent.Init(IEntity, Type)
    IComponent.AfterInit()
    System.IDisposable.Dispose()
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    Namespace: AGS.API
    Assembly: AGS.API.dll
    Syntax
    public interface IDrawableInfoComponent : IComponent, IDisposable, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    IgnoreScalingArea

    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

    true if ignore scaling area; otherwise, false.

    | Improve this Doc View Source

    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

    true if ignore viewport; otherwise, false.

    | Improve this Doc View Source

    RenderLayer

    Gets or sets the render layer associated with the entity.

    Declaration
    IRenderLayer RenderLayer { get; set; }
    Property Value
    Type Description
    IRenderLayer

    The render layer.

    See Also
    IRenderLayer
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX