스켈레톤

Skeleton class

Skeleton은 주로 CAD 소프트웨어에서 디자이너가 골격 구조의 변환을 조작하도록 돕기 위해 사용되며, CAD 소프트웨어 외부에서는 보통 쓸모가 없습니다. Skeleton 계층을 CAD 소프트웨어에서 하나의 객체처럼 동작하게 하려면, 최상위 Skeleton 노드를 Type을 SkeletonType.SKELETON으로 설정하여 루트로 표시하고, 모든 자식은 SkeletonType.BONE으로 설정해야 합니다.

메서드

constructor

이름설명
constructor()Skeleton 클래스의 새 인스턴스를 초기화합니다.

Result:


constructor_overload

이름설명
constructor_overload(name)Skeleton 클래스의 새 인스턴스를 초기화합니다.

Parameters:

이름유형설명
nameString이름.

Result:


getSize

이름설명
getSize()CAD 소프트웨어에서 뼈의 크기를 나타내는 데 사용되는 사지 노드 크기를 가져오거나 설정합니다.

Result:


setSize

이름설명
setSize(value)CAD 소프트웨어에서 뼈의 크기를 나타내는 데 사용되는 사지 노드 크기를 가져오거나 설정합니다.

Result:


getType

이름설명
getType()스켈레톤의 유형을 가져오거나 설정합니다. 속성 값은 SkeletonType 정수 상수입니다. 스켈레톤의 유형.

Result:


setType

이름설명
setType(value)스켈레톤의 유형을 가져오거나 설정합니다. 속성 값은 SkeletonType 정수 상수입니다. 스켈레톤의 유형.

Result:


getParentNodes

이름설명
getParentNodes()모든 부모 노드를 가져옵니다. 엔터티는 기하학 인스턴싱을 위해 여러 부모 노드에 부착될 수 있습니다.

Result:


getExcluded

이름설명
getExcluded()내보내기 중에 이 엔터티를 제외할지 여부를 가져오거나 설정합니다.

Result:


setExcluded

이름설명
setExcluded(value)내보내기 중에 이 엔터티를 제외할지 여부를 가져오거나 설정합니다.

Result:


getParentNode

이름설명
getParentNode()첫 번째 부모 노드를 가져오거나 설정합니다. 첫 번째 부모 노드를 설정하면 이 엔터티는 다른 부모 노드에서 분리됩니다. 부모 노드.

Result:


setParentNode

이름설명
setParentNode(value)첫 번째 부모 노드를 가져오거나 설정합니다. 첫 번째 부모 노드를 설정하면 이 엔터티는 다른 부모 노드에서 분리됩니다. 부모 노드.

Result:


getScene

이름설명
getScene()이 객체가 속한 씬을 가져옵니다.

Result:


getName

이름설명
getName()이름을 가져오거나 설정합니다. 이름.

Result:


setName

이름설명
setName(value)이름을 가져오거나 설정합니다. 이름.

Result:


getProperties

이름설명
getProperties()모든 속성의 컬렉션을 가져옵니다.

Result:


getBoundingBox

이름설명
getBoundingBox()현재 엔터티의 객체 공간 좌표계에서 경계 상자를 가져옵니다.

Result:


getEntityRendererKey

이름설명
getEntityRendererKey()렌더러에 등록된 엔터티 렌더러의 키를 가져옵니다.

Result: EntityRendererKey


removeProperty

이름설명
removeProperty(property)동적 속성을 제거합니다.

Parameters:

이름유형설명
속성속성제거할 속성은 무엇입니까

Result: boolean


removeProperty

이름설명
removeProperty(property)이름으로 식별된 지정된 속성을 제거합니다.

Parameters:

이름유형설명
propertStringnull

Result: boolean


getProperty

이름설명
getProperty(property)지정된 속성의 값을 가져옵니다

Parameters:

이름유형설명
속성String속성 이름

Result: Object


setProperty

이름설명
setProperty(property, value)지정된 속성의 값을 설정합니다

Parameters:

이름유형설명
속성String속성 이름
valueObject속성의 값

Result: Object


findProperty

이름설명
findProperty(propertyName)속성을 찾습니다. 동적 속성 (Created by CreateDynamicProperty/SetProperty) 또는 네이티브 속성(Identified by its name) 일 수 있습니다

Parameters:

이름유형설명
propertyNameString속성 이름.

Result: 속성