Search Results for

    Show / Hide Table of Contents

    Class Tagalong

    Behavior for an entity that follows the camera.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Behavior
    Tagalong
    Implements
    IDependencyObject
    Inherited Members
    Behavior.Family
    Behavior.UpdateOrder
    Behavior.OnDetach()
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Components.Toolkit
    Assembly: Evergine.Components.dll
    Syntax
    public class Tagalong : Behavior, IDependencyObject

    Fields

    transform

    The Transform component.

    Declaration
    [BindComponent(true, true, BindComponentSource.Owner, null, true)]
    protected Transform3D transform
    Field Value
    Type Description
    Transform3D

    Properties

    MaxAngle

    Gets or sets the maximum angle of the panel.

    Declaration
    [RenderProperty(typeof(FloatRadianToDegreeConverter))]
    public float MaxAngle { get; set; }
    Property Value
    Type Description
    float

    MaxDistance

    Gets or sets the maximum distance.

    Declaration
    public float MaxDistance { get; set; }
    Property Value
    Type Description
    float

    MinDistance

    Gets or sets the minimum distance.

    Declaration
    public float MinDistance { get; set; }
    Property Value
    Type Description
    float

    SmoothDistanceFactor

    Gets or sets the smoothing factor for the distance.

    Declaration
    public float SmoothDistanceFactor { get; set; }
    Property Value
    Type Description
    float

    SmoothPositionFactor

    Gets or sets the smooth factor for the position.

    Declaration
    public float SmoothPositionFactor { get; set; }
    Property Value
    Type Description
    float

    Methods

    OnAttached()

    Invoked when the object is attached to the system.

    Declaration
    protected override bool OnAttached()
    Returns
    Type Description
    bool

    True if everything is OK.

    Overrides
    Behavior.OnAttached()

    Update(TimeSpan)

    Updates the behavior.

    Declaration
    protected override void Update(TimeSpan gameTime)
    Parameters
    Type Name Description
    TimeSpan gameTime

    The elapsed game time.

    Overrides
    Behavior.Update(TimeSpan)

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX