Skip to content
On this page

mxcad API 文档 / MdGeAisTexturedShape

Class: MdGeAisTexturedShape

所有类的父类, 除去MdGeTopo以及MdGeBrep

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MdGeAisTexturedShape(mshap)

Parameters

NameType
mshapobject | MdGeShape

Overrides

MdGeAisObject.constructor

Properties

imp

Protected imp: any = 0

Inherited from

MdGeAisObject.imp

Methods

DisableTextureModulate

DisableTextureModulate(): void

Returns

void


EnableTextureModulate

EnableTextureModulate(): void

Returns

void


IsShowTriangles

IsShowTriangles(): boolean

Returns

boolean


SetColor

SetColor(theColor): void

Parameters

NameType
theColorMdGeColor

Returns

void


SetMaterial

SetMaterial(theAspect): void

Parameters

NameType
theAspectMdGeMaterialAspect

Returns

void


SetShowTriangles

SetShowTriangles(theToShowTriangles): void

Parameters

NameType
theToShowTrianglesboolean

Returns

void


SetTextureFileName

SetTextureFileName(theTextureFileName): void

Parameters

NameType
theTextureFileNamestring

Returns

void


SetTextureMapOff

SetTextureMapOff(): void

Returns

void


SetTextureMapOn

SetTextureMapOn(): void

Returns

void


SetTextureOrigin

SetTextureOrigin(theToSetTextureOrigin, theUOrigin, theVOrigin): void

Parameters

NameType
theToSetTextureOriginboolean
theUOriginnumber
theVOriginnumber

Returns

void


SetTextureRepeat

SetTextureRepeat(theToRepeat, theURepeat, theVRepeat): void

Parameters

NameType
theToRepeatboolean
theURepeatnumber
theVRepeatnumber

Returns

void


SetTextureScale

SetTextureScale(theToSetTextureScale, theScaleU, theScaleV): void

Parameters

NameType
theToSetTextureScaleboolean
theScaleUnumber
theScaleVnumber

Returns

void


TextureFile

TextureFile(): string

Returns

string


TextureMapState

TextureMapState(): boolean

Returns

boolean


TextureModulate

TextureModulate(): boolean

Returns

boolean


TextureOrigin

TextureOrigin(): boolean

Returns

boolean


TextureRepeat

TextureRepeat(): boolean

Returns

boolean


TextureScale

TextureScale(): boolean

Returns

boolean


TextureScaleU

TextureScaleU(): number

Returns

number


TextureScaleV

TextureScaleV(): number

Returns

number


TextureUOrigin

TextureUOrigin(): number

Returns

number


TextureVOrigin

TextureVOrigin(): number

Returns

number


URepeat

URepeat(): number

Returns

number


UnsetColor

UnsetColor(): void

Returns

void


UnsetMaterial

UnsetMaterial(): void

Returns

void


UpdateAttributes

UpdateAttributes(): void

Returns

void


VRepeat

VRepeat(): number

Returns

number


getImp

getImp(): any

Returns

any

Inherited from

MdGeAisObject.getImp


initTempObject

Protected initTempObject(imp): void

Parameters

NameType
impany

Returns

void

Inherited from

MdGeAisObject.initTempObject