ExampleWithGraphics.Vertex.Vertex C# (CSharp) Метод

Vertex() публичный Метод

Initializes a new instance of the Vertex class.
public Vertex ( double x, double y, double z, bool isHull = false ) : System.Windows.Media
x double The x position.
y double The y position.
z double The z position.
isHull bool
Результат System.Windows.Media
        public Vertex(double x, double y, double z, bool isHull = false)
        {
            Content = new GeometryModel3D
            {
                Geometry = isHull ? hullMesh.Geometry : mesh.Geometry,
                Material = isHull ? hullMaterial : material,
                Transform = new TranslateTransform3D(x, y, z)
            };
            Position = new double[] { x, y, z };
        }

Same methods

Vertex::Vertex ( System.Windows.Media.Brush fill = null ) : System.Windows
Vertex::Vertex ( double x, double y, System.Windows.Media.Brush fill = null ) : System.Windows