GetEffects
Overloads
| Name | Description |
|---|---|
| GetEffects() | 표시 중인 이펙트 항목을 모두 반환합니다. |
| GetEffects(EffectType type) | 지정한 종류의 이펙트 항목을 반환합니다. |
| GetEffects(string group) | 지정한 그룹의 이펙트 항목을 반환합니다. |
GetEffects()
public List<EffectItem> GetEffects()
표시 중인 이펙트 항목을 모두 반환합니다.
Remarks
호출한 시점의 사본이며, 목록을 바꿔도 표시 상태에는 영향이 없습니다.
Returns
| Type | Description |
|---|---|
| List<EffectItem> | 이펙트 항목 List |
Examples
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;
private void Example()
{
System.Collections.Generic.List<VIZCore3DX.NET.Data.EffectItem> items =
vizcore3dx.View.Effect.GetEffects();
}
GetEffects(EffectType type)
public List<EffectItem> GetEffects(EffectType type)
지정한 종류의 이펙트 항목을 반환합니다.
Remarks
호출한 시점의 사본이며, 목록을 바꿔도 표시 상태에는 영향이 없습니다.
Parameters
| Name | Type | Description |
|---|---|---|
| type | EffectType | 이펙트 종류 |
Returns
| Type | Description |
|---|---|
| List<EffectItem> | 이펙트 항목 List |
Examples
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;
private void Example()
{
System.Collections.Generic.List<VIZCore3DX.NET.Data.EffectItem> items =
vizcore3dx.View.Effect.GetEffects(VIZCore3DX.NET.Data.EffectType.Marker);
}
GetEffects(string group)
public List<EffectItem> GetEffects(string group)
지정한 그룹의 이펙트 항목을 반환합니다.
Remarks
호출한 시점의 사본이며, 목록을 바꿔도 표시 상태에는 영향이 없습니다.
Parameters
| Name | Type | Description |
|---|---|---|
| group | string | 그룹 키 (null 이면 전체) |
Returns
| Type | Description |
|---|---|
| List<EffectItem> | 이펙트 항목 List |
Examples
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;
private void Example()
{
System.Collections.Generic.List<VIZCore3DX.NET.Data.EffectItem> items =
vizcore3dx.View.Effect.GetEffects("PTW_HAZARD");
}