Search Results for

    Show / Hide Table of Contents

    Class PlaneMesh

    Plane primitive mesh. To render this mesh, use the MeshRenderer class.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    BaseModel
    MeshComponent
    PrimitiveBaseMesh
    PlaneMesh
    Implements
    IDependencyObject
    Inherited Members
    PrimitiveBaseMesh.Model
    PrimitiveBaseMesh.ModelMeshName
    PrimitiveBaseMesh.OnAttached()
    PrimitiveBaseMesh.NotifyPropertyChange()
    PrimitiveBaseMesh.Destroy()
    MeshComponent.modelLink
    MeshComponent.meshContainer
    MeshComponent.ChangedMesh
    MeshComponent.modelMeshName
    MeshComponent.MeshCount
    MeshComponent.MeshContainer
    MeshComponent.MeshNames
    MeshComponent.Meshes
    MeshComponent.BoundingBox
    MeshComponent.OnDestroy()
    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.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    Component.OnDetach()
    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.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Components.Graphics3D
    Assembly: Evergine.Components.dll
    Syntax
    public class PlaneMesh : PrimitiveBaseMesh, IDependencyObject

    Constructors

    PlaneMesh()

    Initializes a new instance of the PlaneMesh class.

    Declaration
    public PlaneMesh()

    Properties

    Height

    Gets or sets the plane height.

    Declaration
    [RenderPropertyAsFInput(1.1920929E-07, 3.4028235E+38)]
    public float Height { get; set; }
    Property Value
    Type Description
    float

    Origin

    Gets or sets the normal of the plane.

    Declaration
    public Vector2 Origin { get; set; }
    Property Value
    Type Description
    Vector2

    PlaneNormal

    Gets or sets the normal of the plane.

    Declaration
    public PlaneMesh.NormalAxis PlaneNormal { get; set; }
    Property Value
    Type Description
    PlaneMesh.NormalAxis

    TwoSides

    Gets or sets a value indicating whether the plane has two sides.

    Declaration
    public bool TwoSides { get; set; }
    Property Value
    Type Description
    bool

    UMirror

    Gets or sets a value indicating whether to mirror the U (horizontal) texture coordinate.

    Declaration
    public bool UMirror { get; set; }
    Property Value
    Type Description
    bool

    UOffset

    Gets or sets the horizontal texture coordinate offset.

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

    UTile

    Gets or sets the horizontal texture coordinate scale factor.

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

    VMirror

    Gets or sets a value indicating whether to mirror the V (vertical) texture coordinate.

    Declaration
    public bool VMirror { get; set; }
    Property Value
    Type Description
    bool

    VOffset

    Gets or sets the vertical texture coordinate offset.

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

    VTile

    Gets or sets the vertical texture coordinate scale factor.

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

    Width

    Gets or sets the width of the plane. Must be greater than 0.

    Declaration
    [RenderPropertyAsFInput(1.1920929E-07, 3.4028235E+38)]
    public float Width { get; set; }
    Property Value
    Type Description
    float

    Methods

    Build(PrimitiveModelBuilder)

    Builds a primitive instance using the given builder.

    Declaration
    protected override void Build(PrimitiveModelBuilder builder)
    Parameters
    Type Name Description
    PrimitiveModelBuilder builder

    The primitive model builder.

    Overrides
    PrimitiveBaseMesh.Build(PrimitiveModelBuilder)

    GetPrimitiveHashCode()

    Gets a unique identifier of the primitive definition.

    Declaration
    protected override int GetPrimitiveHashCode()
    Returns
    Type Description
    int

    A unique identifier of the primitive definition.

    Overrides
    PrimitiveBaseMesh.GetPrimitiveHashCode()

    Implements

    IDependencyObject

    Extension Methods

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