CanvasFace ObjectThe CanvasFace object represents a face of a 3D Canvas Object.
Gets the number points in the face. Syntax object.GetPointCount() As Variant Gets the specified point. Syntax object.GetPoint(Index As Variant) As Variant Remarks The returned value is an index to a point in a CanvasObject object. Gets the number of normals in the face. Syntax object.GetNormalCount() As Variant Gets the specified normal. Syntax object.GetNormal(Index As Variant) As Variant Remarks The returned value is an index to a normal in a CanvasObject object. Gets the texture topology of the face. Syntax object.GetTextureTopology(WrapU As Variant, Sets the texture topology of the face. Syntax object.SetTextureTopology(WrapU As Variant, Remarks Flat wraps require 0, 0 as arguments. Adds a point and normal to the face. Syntax object.AddPointAndNormal(PointIndex As Variant, Sets the material for the face. Syntax object.SetMaterial(Material As Variant) Gets the material of the face. Syntax object.GetMaterial() As CanvasMaterial |