Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    UIElementTransformLink Class

    Namespace: Stride.Engine
    Assembly: Stride.UI.dll
    System.Object → TransformLink → UIElementTransformLink
    Derived from UIElementTransformLink:

    public class UIElementTransformLink : TransformLink
    Name Description
    Constructors
    UIElementTransformLink(UIComponent, CameraComponent, String, Boolean)
    Fields
    Transform
    Methods
    ComputeMatrix(Boolean, out Matrix)

    Compute a world matrix this link represents.

    GetUICameraComponent(UIComponent)
    NeedsRecreate(Entity, String)
    | Improve this Doc View Source

    Constructors


    UIElementTransformLink(UIComponent, CameraComponent, String, Boolean)

    public UIElementTransformLink(UIComponent parentUIComponent, CameraComponent camera, string elementName, bool forceRecursive)
    Parameters
    Type Name Description
    UIComponent parentUIComponent
    CameraComponent camera
    System.String elementName
    System.Boolean forceRecursive
    | Improve this Doc View Source

    Fields


    Transform

    public TransformTRS Transform
    Field Value
    Type Description
    TransformTRS
    | Improve this Doc View Source

    Methods


    ComputeMatrix(Boolean, out Matrix)

    Compute a world matrix this link represents.

    public override void ComputeMatrix(bool recursive, out Matrix matrix)
    Parameters
    Type Name Description
    System.Boolean recursive
    Matrix matrix

    The computed world matrix.

    Overrides
    TransformLink.ComputeMatrix(Boolean, out Matrix)

    GetUICameraComponent(UIComponent)

    protected CameraComponent GetUICameraComponent(UIComponent uiComponent)
    Parameters
    Type Name Description
    UIComponent uiComponent
    Returns
    Type Description
    CameraComponent

    NeedsRecreate(Entity, String)

    public bool NeedsRecreate(Entity parentEntity, string targetNodeName)
    Parameters
    Type Name Description
    Entity parentEntity
    System.String targetNodeName
    Returns
    Type Description
    System.Boolean

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation