Search Results for

    Show / Hide Table of Contents

    Class LineBezierMesh

    Bezier line primitive mesh component. To render this mesh, use the LineMeshRenderer3D class.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    BaseModel
    MeshComponent
    LineMeshBase
    LineBezierMesh
    Implements
    IDependencyObject
    Inherited Members
    LineMeshBase.graphicsContext
    LineMeshBase.linePoints
    LineMeshBase.lineType
    LineMeshBase.isLoop
    LineMeshBase.Model
    LineMeshBase.UseWorldSpace
    LineMeshBase.TexcoordOffset
    LineMeshBase.DiffuseTexture
    LineMeshBase.DiffuseSampler
    LineMeshBase.IsCameraAligned
    LineMeshBase.TextureTiling
    LineMeshBase.ModelMeshName
    LineMeshBase.BoundingBox
    LineMeshBase.OnActivated()
    LineMeshBase.OnDeactivated()
    LineMeshBase.OnDetach()
    LineMeshBase.OnDestroy()
    MeshComponent.modelLink
    MeshComponent.meshContainer
    MeshComponent.ChangedMesh
    MeshComponent.modelMeshName
    MeshComponent.MeshCount
    MeshComponent.MeshContainer
    MeshComponent.MeshNames
    MeshComponent.Meshes
    MeshComponent.UnloadModel()
    MeshComponent.ThrowRefreshEvent()
    MeshComponent.RefreshMesh()
    BaseModel.customBoundingBoxSet
    BaseModel.Refreshed
    BaseModel.BoundingBoxRefreshed
    BaseModel.GetBoneByMeshIndex(int)
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.Start()
    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.Primitives
    Assembly: Evergine.Components.dll
    Syntax
    public class LineBezierMesh : LineMeshBase, IDependencyObject

    Constructors

    LineBezierMesh()

    Initializes a new instance of the LineBezierMesh class.

    Declaration
    public LineBezierMesh()

    Properties

    LinePoints

    Gets or sets a list of points that define the line.

    Declaration
    public List<BezierPointInfo> LinePoints { get; set; }
    Property Value
    Type Description
    List<BezierPointInfo>

    Resolution

    Gets or sets the resolution of each Bezier segment.

    Declaration
    [RenderPropertyAsInput(MinLimit = 3, MaxLimit = 50, AsSlider = true, DesiredChange = 1, DesiredLargeChange = 2)]
    public int Resolution { get; set; }
    Property Value
    Type Description
    int

    Type

    Gets or sets the type of Bezier curve.

    Declaration
    public BezierTypes Type { get; set; }
    Property Value
    Type Description
    BezierTypes

    Methods

    CloneLastPoint(BezierPointInfo)

    Updates the last point added with the previous point.

    Declaration
    public void CloneLastPoint(BezierPointInfo point)
    Parameters
    Type Name Description
    BezierPointInfo point

    The last point added to the list.

    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
    LineMeshBase.OnAttached()

    RefreshItems(BezierPointInfo)

    Refreshes the mesh when a value from the list changes.

    Declaration
    public void RefreshItems(BezierPointInfo point)
    Parameters
    Type Name Description
    BezierPointInfo point

    Point.

    RefreshMeshes()

    Refreshes meshes.

    Declaration
    protected override void RefreshMeshes()
    Overrides
    LineMeshBase.RefreshMeshes()

    Implements

    IDependencyObject

    Extension Methods

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