Show / Hide Table of Contents

    Interface IObject

    An object is an entity with pre-set components (like location, scale, rotation, animation, etc) which is useful to depict all adventure game objects. Both characters and UI controls are also objects (with additional components).

    Inherited Members
    IEntity.ID
    IEntity.DisplayName
    IEntity.GetFriendlyName()
    IComponentsCollection.AddComponent<TComponent>()
    IComponentsCollection.AddComponent(Type)
    IComponentsCollection.AddComponent<TComponent>(IComponent)
    IComponentsCollection.RemoveComponent<TComponent>()
    IComponentsCollection.RemoveComponent(Type)
    IComponentsCollection.RemoveComponent(IComponent)
    IComponentsCollection.PopComponent<TComponent>()
    IComponentsCollection.HasComponent<TComponent>()
    IComponentsCollection.HasComponent(Type)
    IComponentsCollection.HasComponent(IComponent)
    IComponentsCollection.GetComponent<TComponent>()
    IComponentsCollection.GetComponent(Type)
    IComponentsCollection.Bind<TComponent>(Action<TComponent>, Action<TComponent>)
    IComponentsCollection.Count
    IComponentsCollection.ComponentsInitialized
    IComponentsCollection.OnComponentsInitialized
    IComponentsCollection.OnComponentsChanged
    IComponentsCollection.OnDisposed(Action)
    System.Collections.Generic.IEnumerable<AGS.API.IComponent>.GetEnumerator()
    IHasRoomComponent.Room
    IHasRoomComponent.PreviousRoom
    IHasRoomComponent.OnRoomChanged
    IHasRoomComponent.ChangeRoomAsync(IRoom, Nullable<Single>, Nullable<Single>)
    IAnimationComponent.Animation
    IAnimationComponent.OnAnimationStarted
    IAnimationComponent.StartAnimation(IAnimation)
    IAnimationComponent.Animate(IAnimation)
    IAnimationComponent.AnimateAsync(IAnimation)
    IInTree<IObject>.TreeNode
    IColliderComponent.CenterPoint
    IColliderComponent.CollidesWith(Single, Single, IViewport)
    IVisibleComponent.Visible
    IVisibleComponent.UnderlyingVisible
    IEnabledComponent.Enabled
    IEnabledComponent.UnderlyingEnabled
    IEnabledComponent.ClickThrough
    ICustomPropertiesComponent.Properties
    IDrawableInfoComponent.RenderLayer
    IDrawableInfoComponent.IgnoreViewport
    IDrawableInfoComponent.IgnoreScalingArea
    IShaderComponent.Shader
    IImageComponent.IsImageVisible
    IImageComponent.CurrentSprite
    IImageComponent.SpriteProvider
    IBorderComponent.Border
    IPixelPerfectComponent.IsPixelPerfect
    IPixelPerfectCollidable.PixelPerfectHitTestArea
    IScale.Height
    IScale.Width
    IScale.ScaleX
    IScale.ScaleY
    IScale.Scale
    IScale.BaseSize
    IScale.ResetScale()
    IScale.ResetScale(Single, Single)
    IScale.ScaleTo(Single, Single)
    IScale.FlipHorizontally()
    IScale.FlipVertically()
    IRotate.Angle
    ITranslate.Position
    ITranslate.X
    ITranslate.Y
    ITranslate.Z
    IHasImage.Opacity
    IHasImage.Tint
    IHasImage.Brightness
    IHasImage.Pivot
    IHasImage.Image
    IModelMatrixComponent.GetModelMatrices()
    IModelMatrixComponent.OnMatrixChanged
    IModelMatrixComponent.ModelMatrixLockStep
    IBoundingBoxComponent.GetBoundingBoxes(IViewport)
    IBoundingBoxComponent.WorldBoundingBox
    IBoundingBoxComponent.OnBoundingBoxesChanged
    IBoundingBoxComponent.BoundingBoxLockStep
    IWorldPositionComponent.WorldX
    IWorldPositionComponent.WorldY
    IWorldPositionComponent.WorldXY
    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 IObject : IEntity, IComponentsCollection, IEnumerable<IComponent>, IEnumerable, IHasRoomComponent, IAnimationComponent, IInObjectTreeComponent, IInTree<IObject>, IColliderComponent, IVisibleComponent, IEnabledComponent, ICustomPropertiesComponent, IDrawableInfoComponent, IShaderComponent, ITranslateComponent, IImageComponent, IBorderComponent, IScaleComponent, IRotateComponent, IPixelPerfectComponent, IPixelPerfectCollidable, IHasModelMatrix, IScale, IRotate, ITranslate, IHasImage, IModelMatrixComponent, IBoundingBoxComponent, IWorldPositionComponent, IComponent, IDisposable, INotifyPropertyChanged
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX