Search Results for

    Show / Hide Table of Contents

    Class CappedCylinderGenerator

    Generate a Cylinder with caps. Supports sections of cylinder as well (eg wedges). Curently UV islands are overlapping for different mesh components, if NoSharedVertices Positioned along Y axis such that base-center is at Origin, and top is at Y=Height You get a cone unless BaseRadius = TopRadius No subdivisions along top/base rings or height steps. cylinder triangles have groupid = 1, top cap = 2, bottom cap = 3, wedge faces 5 and 6

    Inheritance
    Object
    MeshGenerator
    CappedCylinderGenerator
    Inherited Members
    MeshGenerator.vertices
    MeshGenerator.uv
    MeshGenerator.normals
    MeshGenerator.triangles
    MeshGenerator.groups
    MeshGenerator.WantUVs
    MeshGenerator.WantNormals
    MeshGenerator.WantGroups
    MeshGenerator.Clockwise
    MeshGenerator.MakeMesh(SimpleMesh)
    MeshGenerator.MakeSimpleMesh()
    MeshGenerator.MakeMesh(DMesh3)
    MeshGenerator.MakeDMesh()
    MeshGenerator.MakeMesh(NTMesh3)
    MeshGenerator.MakeNTMesh()
    MeshGenerator.duplicate_vertex_span(Int32, Int32)
    MeshGenerator.append_disc(Int32, Int32, Int32, Boolean, Boolean, Int32, Int32)
    MeshGenerator.append_rectangle(Int32, Int32, Int32, Int32, Boolean, Int32, Int32)
    MeshGenerator.append_2d_disc_segment(Int32, Int32, Int32, Int32, Boolean, Int32, Int32, Int32, Double)
    MeshGenerator.estimate_normal(Int32, Int32, Int32)
    MeshGenerator.bilerp(Vector3d, Vector3d, Vector3d, Vector3d, Double, Double)
    MeshGenerator.bilerp(Vector2d, Vector2d, Vector2d, Vector2d, Double, Double)
    MeshGenerator.bilerp(Vector2f, Vector2f, Vector2f, Vector2f, Single, Single)
    MeshGenerator.bilerp(Vector3i, Vector3i, Vector3i, Vector3i, Double, Double)
    MeshGenerator.lerp(Vector3i, Vector3i, Double)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: g3
    Assembly: cs.temp.dll.dll
    Syntax
    public class CappedCylinderGenerator : MeshGenerator

    Fields

    BaseRadius

    Declaration
    public float BaseRadius
    Field Value
    Type Description
    Single

    EndAngleDeg

    Declaration
    public float EndAngleDeg
    Field Value
    Type Description
    Single

    Height

    Declaration
    public float Height
    Field Value
    Type Description
    Single

    NoSharedVertices

    Declaration
    public bool NoSharedVertices
    Field Value
    Type Description
    Boolean

    Slices

    Declaration
    public int Slices
    Field Value
    Type Description
    Int32

    StartAngleDeg

    Declaration
    public float StartAngleDeg
    Field Value
    Type Description
    Single

    TopRadius

    Declaration
    public float TopRadius
    Field Value
    Type Description
    Single

    Methods

    Generate()

    Declaration
    public override MeshGenerator Generate()
    Returns
    Type Description
    MeshGenerator
    Overrides
    MeshGenerator.Generate()
    In This Article
    Back to top ViRGIS VR GIS