mxcad API 文档 / 3d / MdGeAisTexturedShape
Class: MdGeAisTexturedShape
3d.MdGeAisTexturedShape
所有类的父类, 除去MdGeTopo以及MdGeBrep
Hierarchy
↳
MdGeAisTexturedShape
Table of contents
Constructors
Properties
Methods
- DisableTextureModulate
- EnableTextureModulate
- IsShowTriangles
- SetColor
- SetMaterial
- SetShowTriangles
- SetTextureFileName
- SetTextureMapOff
- SetTextureMapOn
- SetTextureOrigin
- SetTextureRepeat
- SetTextureScale
- TextureFile
- TextureMapState
- TextureModulate
- TextureOrigin
- TextureRepeat
- TextureScale
- TextureScaleU
- TextureScaleV
- TextureUOrigin
- TextureVOrigin
- URepeat
- UnsetColor
- UnsetMaterial
- UpdateAttributes
- VRepeat
- getImp
- initTempObject
Constructors
constructor
• new MdGeAisTexturedShape(mshap
)
Parameters
Name | Type |
---|---|
mshap | object | MdGeShape |
Overrides
Properties
imp
• Protected
imp: any
= 0
Inherited from
Methods
DisableTextureModulate
▸ DisableTextureModulate(): void
Returns
void
EnableTextureModulate
▸ EnableTextureModulate(): void
Returns
void
IsShowTriangles
▸ IsShowTriangles(): boolean
Returns
boolean
SetColor
▸ SetColor(theColor
): void
Parameters
Name | Type |
---|---|
theColor | MdGeColor |
Returns
void
SetMaterial
▸ SetMaterial(theAspect
): void
Parameters
Name | Type |
---|---|
theAspect | MdGeMaterialAspect |
Returns
void
SetShowTriangles
▸ SetShowTriangles(theToShowTriangles
): void
Parameters
Name | Type |
---|---|
theToShowTriangles | boolean |
Returns
void
SetTextureFileName
▸ SetTextureFileName(theTextureFileName
): void
Parameters
Name | Type |
---|---|
theTextureFileName | string |
Returns
void
SetTextureMapOff
▸ SetTextureMapOff(): void
Returns
void
SetTextureMapOn
▸ SetTextureMapOn(): void
Returns
void
SetTextureOrigin
▸ SetTextureOrigin(theToSetTextureOrigin
, theUOrigin
, theVOrigin
): void
Parameters
Name | Type |
---|---|
theToSetTextureOrigin | boolean |
theUOrigin | number |
theVOrigin | number |
Returns
void
SetTextureRepeat
▸ SetTextureRepeat(theToRepeat
, theURepeat
, theVRepeat
): void
Parameters
Name | Type |
---|---|
theToRepeat | boolean |
theURepeat | number |
theVRepeat | number |
Returns
void
SetTextureScale
▸ SetTextureScale(theToSetTextureScale
, theScaleU
, theScaleV
): void
Parameters
Name | Type |
---|---|
theToSetTextureScale | boolean |
theScaleU | number |
theScaleV | number |
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
initTempObject
▸ Protected
initTempObject(imp
): void
Parameters
Name | Type |
---|---|
imp | any |
Returns
void