"A plug is a point on a dependency node where a particular attribute can be connected. In simple cases the plug and attribute are equivalent. When you have array attributes, however, the plug is more specific in that it indicates which of the array elements is to be connected."
Maya API의 MPlug class에 대한 설명부분에 따르면 단순한 어트리뷰트의 경우 Plug와 Attribute를 똑같이 생각해도 된다고 하네요,
하지만 어레이 어트리뷰트일 경우, 그 어레이 어트리뷰트중에 어떤 녀석이 연결되는지 가리킬 때 Plug가 사용된다는거죠.
A라는 오브젝트에 단순한 타입의 어트리뷰트 a와 어레이 타입 어트리뷰트 b가 있으면
A.a 는 어트리뷰트이자 Plug, A.b는 어트리뷰트, A.b[0], A.b[1]은 Plug가 되겠죠.
"A plug is a point on a dependency node where a particular attribute can be connected. In simple cases the plug and attribute are equivalent. When you have array attributes, however, the plug is more specific in that it indicates which of the array elements is to be connected."
Maya API의 MPlug class에 대한 설명부분에 따르면 단순한 어트리뷰트의 경우 Plug와 Attribute를 똑같이 생각해도 된다고 하네요,
하지만 어레이 어트리뷰트일 경우, 그 어레이 어트리뷰트중에 어떤 녀석이 연결되는지 가리킬 때 Plug가 사용된다는거죠.
A라는 오브젝트에 단순한 타입의 어트리뷰트 a와 어레이 타입 어트리뷰트 b가 있으면
A.a 는 어트리뷰트이자 Plug, A.b는 어트리뷰트, A.b[0], A.b[1]은 Plug가 되겠죠.