Show / Hide Table of Contents

    Interface IModelMatrixComponent

    A component to calculate the matrix used to render/hit-test the object. The matrix includes transormations, rotations and scale.

    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
    [RequiredComponent(typeof(IScaleComponent), true)]
    [RequiredComponent(typeof(ITranslateComponent), true)]
    [RequiredComponent(typeof(IRotateComponent), true)]
    [RequiredComponent(typeof(IImageComponent), true)]
    [RequiredComponent(typeof(IHasRoomComponent), true)]
    [RequiredComponent(typeof(IDrawableInfoComponent), true)]
    [RequiredComponent(typeof(IInObjectTreeComponent), true)]
    [RequiredComponent(typeof(IWorldPositionComponent), true)]
    [RequiredComponent(typeof(ITextComponent), false)]
    public interface IModelMatrixComponent : IComponent, IDisposable, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    ModelMatrixLockStep

    Allows locking the component from changing (to allow for changing multiple components "at once").

    Declaration
    ILockStep ModelMatrixLockStep { get; }
    Property Value
    Type Description
    ILockStep

    The lock step.

    | Improve this Doc View Source

    OnMatrixChanged

    An event that fires whenever the matrix changes.

    Declaration
    IBlockingEvent OnMatrixChanged { get; }
    Property Value
    Type Description
    IBlockingEvent

    The on matrix changed.

    Methods

    | Improve this Doc View Source

    GetModelMatrices()

    Gets the model matrices.

    Declaration
    ModelMatrices GetModelMatrices()
    Returns
    Type Description
    ModelMatrices

    The model matrices.

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