본문으로 건너뛰기

GetEffects

Overloads​

NameDescription
GetEffects()표시 중인 이펙트 항목을 모두 반환합니다.
GetEffects(EffectType type)지정한 종류의 이펙트 항목을 반환합니다.
GetEffects(string group)지정한 그룹의 이펙트 항목을 반환합니다.

GetEffects()​

public List<EffectItem> GetEffects()

표시 중인 이펙트 항목을 모두 반환합니다.

Remarks​

호출한 시점의 사본이며, 목록을 바꿔도 표시 상태에는 영향이 없습니다.

Returns​

TypeDescription
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​

NameTypeDescription
typeEffectType이펙트 종류

Returns​

TypeDescription
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​

NameTypeDescription
groupstring그룹 키 (null 이면 전체)

Returns​

TypeDescription
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");
}