Skip to content

How do I use gd internal packages? #82

Closed Answered by Splizard
nii236 asked this question in Q&A
Discussion options

You must be logged in to vote

@nii236 I really appreciate all of the dicussions you've started and issues you have finding. It really helps the project!

In this case, the Mesh classdb package aliases this type:

type PrimitiveType = gdclass.MeshPrimitiveType //gd:Mesh.PrimitiveType

const (
	/*Render array as points (one vertex equals one point).*/
	PrimitivePoints PrimitiveType = 0
	/*Render array as lines (every two vertices a line is created).*/
	PrimitiveLines PrimitiveType = 1
	/*Render array as line strip.*/
	PrimitiveLineStrip PrimitiveType = 2
	/*Render array as triangles (every three vertices a triangle is created).*/
	PrimitiveTriangles PrimitiveType = 3
	/*Render array as triangle strips.*/
	PrimitiveTriangl…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@nii236
Comment options

@Splizard
Comment options

Answer selected by Splizard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants