Click or drag to resize

CMVIEWDraw3D Method

Note: This API is now obsolete.

Draw a 3D object built from triangles

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2025.1.0.25
Syntax
[ObsoleteAttribute("Deprecated since unknown, ")]
public void Draw3D(
	CVV vert_v_vx,
	CVV vert_v_vy,
	CVV vert_v_vz,
	CVV norm_v_vx,
	CVV norm_v_vy,
	CVV norm_v_vz,
	CVV color_vv,
	CVV index_vv
)

[ObsoleteAttribute("Deprecated since unknown, ")]
public void Draw3D(
	CVV vert_v_vx,
	CVV vert_v_vy,
	CVV vert_v_vz,
	CVV norm_v_vx,
	CVV norm_v_vy,
	CVV norm_v_vz,
	CVV color_vv,
	CVV index_vv
)

Parameters

vert_v_vx
Type: GeoEngine.Core.GXNetXCVV
Verticies X
vert_v_vy
Type: GeoEngine.Core.GXNetXCVV
Verticies Y
vert_v_vz
Type: GeoEngine.Core.GXNetXCVV
Verticies Z
norm_v_vx
Type: GeoEngine.Core.GXNetXCVV
Normals X
norm_v_vy
Type: GeoEngine.Core.GXNetXCVV
Normals Y
norm_v_vz
Type: GeoEngine.Core.GXNetXCVV
Normals Z
color_vv
Type: GeoEngine.Core.GXNetXCVV
Colors VV or COL_ANY (can be NULL)
index_vv
Type: GeoEngine.Core.GXNetXCVV
Long VV of triangle indexes,3 per triangle
Remarks
This is a general 3D entity support command. You specify all the verticies and the normals at the verticies and possibly colors (optional). If the colors are not specified the default fill color will be used. The triangles are then composed using indexes into the vertices specified. As of v6.4, this method creates a single group with the name "surface". You should use the new Surface3D_MVIEW function, which allows direct specification of a single color, and the group name.
See Also