HelixToolkit.Wpf.MeshBuilder.AddNode C# (CSharp) Method

AddNode() public method

Adds a single node.
public AddNode ( System.Windows.Media.Media3D.Point3D position, System.Windows.Media.Media3D.Vector3D normal, Point textureCoordinate ) : void
position System.Windows.Media.Media3D.Point3D /// The position. ///
normal System.Windows.Media.Media3D.Vector3D /// The normal. ///
textureCoordinate Point /// The texture coordinate. ///
return void
        public void AddNode(Point3D position, Vector3D normal, Point textureCoordinate)
        {
            this.positions.Add(position);

            if (this.normals != null)
            {
                this.normals.Add(normal);
            }

            if (this.textureCoordinates != null)
            {
                this.textureCoordinates.Add(textureCoordinate);
            }
        }