IGeneralMultiPatchInfo2 Interface

Interface to get information of a GeneralMultiPatch.

Members

Name Description
Method GetMaterialName Returns a name of a named material (see IsNamedMaterial).
Method GetSharedTexture Returns the index of the material that this material texture is shared from.
Method GetTextureURL Returns URL of a texture, if texture is stored as a URL.
Read-only property HasTextureURL Returns True if material texture is stored as a url.
Read-only property IdCount Get Id Count.
Read-only property IsMaterialTextured Get Is Material textured.
Read-only property IsNamedMaterial Returns True if material is a named material (see QueryMaterialName).
Read-only property IsSharedTexture Returns True if material texture is shared with another material.
Read-only property MaterialColor Get material color.
Read-only property MaterialCount Get Material Count.
Read-only property MaterialCullBackface Get backface culling enabled,
Read-only property MaterialTextureBytesPerPixel Get Material texture bytes per pixel.
Read-only property MaterialTextureColumnCount Get Material texture column count.
Read-only property MaterialTexturePixelColor Get Material texture pixel color.
Read-only property MaterialTextureRowCount Get Material texture row count.
Read-only property MaterialTransparencyPercent Get transparency %, in range of 0 - 100
Read-only property MCount Get M Count.
Read-only property NormalCount Get Normal Count.
Read-only property PatchCount Get Patch Count.
Read-only property PatchM Get M for patch at vertex index.
Read-only property PatchMaterialIndex Get patch material index.
Read-only property PatchPriority Get patch priority.
Read-only property PatchTextureVertex Get Texture WKSPoint for a patch at vertex index.
Read-only property PatchTextureVertexCount Get texture vertex count for a patch.
Read-only property PatchType Get patch type.
Read-only property PatchVertex Get Point for patch at vertex index.
Read-only property PatchVertexCount Get count of vertices in patch.
Read-only property PatchVertexID Get vertex Id for a patch at vertex index.
Method QueryPatchNormal Copies the Normal for patch at specified vertex index into the input vector.
Read-only property TextureVertexCount Get Texture Vertex Count.
Read-only property VertexCount Get Vertex Count.

IGeneralMultiPatchInfo2.GetMaterialName Method

Returns a name of a named material (see IsNamedMaterial).

Public Function GetMaterialName ( _
    ByVal Index As Integer _
) As String
public string GetMaterialName (
    int Index
);

IGeneralMultiPatchInfo2.GetSharedTexture Method

Returns the index of the material that this material texture is shared from.

Public Function GetSharedTexture ( _
    ByVal Index As Integer _
) As Integer
public int GetSharedTexture (
    int Index
);

IGeneralMultiPatchInfo2.GetTextureURL Method

Returns URL of a texture, if texture is stored as a URL.

Public Function GetTextureURL ( _
    ByVal Index As Integer _
) As String
public string GetTextureURL (
    int Index
);

IGeneralMultiPatchInfo2.HasTextureURL Property

Returns True if material texture is stored as a url.

Public Function get_HasTextureURL ( _
    ByVal Index As Integer _
) As Boolean
public bool get_HasTextureURL (
    int Index
);

IGeneralMultiPatchInfo2.IsNamedMaterial Property

Returns True if material is a named material (see QueryMaterialName).

Public Function get_IsNamedMaterial ( _
    ByVal Index As Integer _
) As Boolean
public bool get_IsNamedMaterial (
    int Index
);

IGeneralMultiPatchInfo2.IsSharedTexture Property

Returns True if material texture is shared with another material.

Public Function get_IsSharedTexture ( _
    ByVal Index As Integer _
) As Boolean
public bool get_IsSharedTexture (
    int Index
);

Inherited Interfaces

Interfaces Description
IGeneralMultiPatchInfo Interface to get infomation of a GeneralMultiPatch.

Classes that implement IGeneralMultiPatchInfo2

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.