IsChildObject3d
Overloads
| Name | Description |
|---|---|
| IsChildObject3d(int parentIndex, int nodeIndex) | 현재 노드 인덱스가 지정된 부모의 자식 노드 여부 확인 |
IsChildObject3d(int parentIndex, int nodeIndex)
public bool IsChildObject3d(int parentIndex, int nodeIndex)
현재 노드 인덱스가 지정된 부모의 자식 노드 여부 확인
Parameters
| Name | Type | Description |
|---|---|---|
| parentIndex | int | 확인하고자 하는 부모(조상) 노드 인덱스 |
| nodeIndex | int | 현재 노드 인덱스 |
Returns
| Type | Description |
|---|---|
| bool | 결과: True(지정된 부모의 자식 노드) / False(지정된 부모의 자식노드가 아님) |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
int parentIndex = 4;
int childIndex = 100;
bool result = vizcore3d.Object3D.IsChildObject3d(parentIndex, childIndex);
if (result == true)
System.Console.WriteLine("Index is a child.");
else
System.Console.WriteLine("Index is not a child.");
}