nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Imaging / Cube

Cube

Full name Microsoft.VisualBasic.Imaging.Drawing3D.Models.Cube Assembly Microsoft.VisualBasic.Imaging Members 3

01 Syntax

Microsoft.VisualBasic.Imaging.Drawing3D.Models.Cube

02 Methods

NameOverloadsSummary
.ctor 1
GetEnumerator 1

03 Fields

NameOverloadsSummary
_faces 1 Create an array representing the 6 faces of a cube.

04 Members

method .ctor #
#ctor(Int32, Color())
Parameters
NameTypeDescription
d%Int32

正方形的边的长度

colorsColor()

-

method GetEnumerator #
GetEnumerator
Remarks
 0 - {0, 1, 2, 3} 0,1,2,3 = 0,1,2,3
 1 - {1, 5, 6, 2}   1,2   = 5,6
 2 - {5, 4, 7, 6}   1,2   = 4,7
 3 - {4, 0, 3, 7}
 4 - {0, 4, 5, 1}
 5 - {3, 2, 6, 7}
field _faces #
_faces

Create an array representing the 6 faces of a cube. Each face is composed by indices to the vertex array above.