Interface IModelMatrixComponent
A component to calculate the matrix used to render/hit-test the object. The matrix includes transormations, rotations and scale.
Inherited Members
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 SourceModelMatrixLockStep
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. |
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 SourceGetModelMatrices()
Gets the model matrices.
Declaration
ModelMatrices GetModelMatrices()
Returns
Type | Description |
---|---|
ModelMatrices | The model matrices. |