M3D / M3D / Render / ProminentshowEffect
Class: ProminentshowEffect
M3D.Render.ProminentshowEffect
Memberof
M3D.Render
Description
ͻ����ʾЧ��
Author
ZYC
Date
2023-1-05
Version
1.0
Copyright
All Rights Reserved. Copyright (C) 2022 HOTEAMSOFT, Ltd
Hierarchy
-
↳
ProminentshowEffect
Table of contents
Constructors
Properties
Methods
- getEdgeEffect
- getEffectType
- getEvents
- getHighLightColor
- getId
- getLineColor
- getLineWidth
- getRenderContext
- getTransparent
- registerEvent
- removeEvent
- setEdgeEffect
- setEffectType
- setHighLightColor
- setId
- setLineColor
- setLineWidth
- setRenderContext
- setTransparent
Constructors
constructor
• new ProminentshowEffect(): ProminentshowEffect
Returns
Description
���캯��
Overrides
• new ProminentshowEffect(width
, transparent
, outlineColor
, color
): ProminentshowEffect
Parameters
Name | Type | Description |
---|---|---|
width | number | �������߿� |
transparent | number | ���� |
outlineColor | Color | ��������ɫ |
color | Color | ������ɫ |
Returns
Description
���캯��
Overrides
Effect.constructor
Properties
id
• id: number
Inherited from
count
▪ Static
count: number
Inherited from
Methods
getEdgeEffect
▸ getEdgeEffect(): ColorEffect
Returns
�߽���Ч��
Description
��ȡ�߽���Ч��
getEffectType
▸ getEffectType(): EffectType
Returns
特效类型
Description
获取特效类型
Inherited from
getEvents
▸ getEvents(): M3DEvent
[]
Returns
M3DEvent
[]
Description
获得事件列表
Inherited from
getHighLightColor
▸ getHighLightColor(): Color
Returns
������ɫ
Description
��ȡ������ɫ
getId
▸ getId(): number
Returns
number
Description
获取id
Inherited from
getLineColor
▸ getLineColor(): Color
Returns
Description
��ȡ��������ɫ
getLineWidth
▸ getLineWidth(): number
Returns
number
�����߿�
Description
��ȡ�����߿�
getRenderContext
▸ getRenderContext(): RenderContext
Returns
渲染上下文
Description
获取渲染上下文
Inherited from
getTransparent
▸ getTransparent(): number
Returns
number
����
Description
��ȡ��������
registerEvent
▸ registerEvent(event
): void
Parameters
Name | Type | Description |
---|---|---|
event | M3DEvent | M3D事件 |
Returns
void
Description
注册事件
Inherited from
removeEvent
▸ removeEvent(): void
Returns
void
Description
删除事件
Inherited from
setEdgeEffect
▸ setEdgeEffect(effect
): void
Parameters
Name | Type | Description |
---|---|---|
effect | ColorEffect | �߽���Ч�� |
Returns
void
Description
���ñ߽���Ч��
setEffectType
▸ setEffectType(effectType
): void
Parameters
Name | Type | Description |
---|---|---|
effectType | EffectType | 特效类型 |
Returns
void
Description
设置特效类型
Inherited from
setHighLightColor
▸ setHighLightColor(color
): void
Parameters
Name | Type | Description |
---|---|---|
color | Color | ������ɫ |
Returns
void
Description
���ø�����ɫ
setId
▸ setId(v
): void
Parameters
Name | Type | Description |
---|---|---|
v | number | ShapeId |
Returns
void
Description
设置id
Inherited from
setLineColor
▸ setLineColor(color
): void
Parameters
Name | Type | Description |
---|---|---|
color | Color | ��������ɫ |
Returns
void
Description
������������ɫ
setLineWidth
▸ setLineWidth(width
): void
Parameters
Name | Type | Description |
---|---|---|
width | number | �����߿� |
Returns
void
Description
���������߿�
setRenderContext
▸ setRenderContext(v
): void
Parameters
Name | Type | Description |
---|---|---|
v | RenderContext | 渲染上下文 |
Returns
void
Description
设置GL
Inherited from
setTransparent
▸ setTransparent(transparent
): void
Parameters
Name | Type | Description |
---|---|---|
transparent | number | ���� |
Returns
void
Description
���ø�������