This document is archived and information here might be outdated.  Recommended version.


IGeneralMultiPatchCreator Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (3DAnalyst)  

IGeneralMultiPatchCreator Interface

Provides access to manage the creation of a GeneralMultiPatch.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

When To Use

Use this interface when you're creating your own textured multipatch geometry.  To get the multipatch properties, use esriGeometry.olb's IGeneralMultipatchInfo interface.

Members

Description
Method ClearResources Clear resources used to manage the object.
Method CreateMultiPatch Creates the MultiPatch.
Method Init Initialize the creation of a general multipatch.
Method SetID Set vertex Id.
Method SetM Set M at vertex index.
Method SetMaterialIndex Set patch material index.
Method SetNormal Set Normal at vertex index.
Method SetPatchPointIndex Set start index of points in patch, end index is start of next patch.
Method SetPatchPriority Set patch priority (>= 0).
Method SetPatchTexturePointIndex Set texture start index texture points in patch, end index is start of next patch.
Method SetPatchType Set patch type.
Method SetPoint Set Point at vertex index.
Method SetTexturePoint Set Texture Point at vertex index.
Method SetTextureWKSPoint Set Texture WKSPoint at vertex index.
Method SetWKSPointZ Set WKSPoint at vertex index.

CoClasses that implement IGeneralMultiPatchCreator

CoClasses and Classes Description
GeneralMultiPatchCreator The General MultiPatch Creator component.

Remarks

Use this interface to create a textured multipatch, which can be made into a 3D marker symbol.  Once the symbol is made, it can be either added as a symbol element (graphics) to an application or saved to a 3D marker symbol template in a style for future use.  Alternatively, a textured multipatch can also be stored as a feature class in a File Geodatabase (*.gdb), a Personal Geodatabase (*.mdb), an ArcSDE Database, or a Shapefile (*.shp). If it's stored in a Shapefile, only the geometry is kept and all the textures will be lost.

.NET Related Topics

How to create a multipatch using a series of triangles