Bone

Inheritance: java.lang.Object, com.aspose.threed.A3DObject

public class Bone extends A3DObject

본은 지오메트리의 컨트롤 포인트 하위 집합을 정의하고 각 컨트롤 포인트에 대한 블렌드 가중치를 정의합니다. Bone 객체는 직접 사용할 수 없으며, SkinDeformer 인스턴스를 사용하여 지오메트리를 변형하고, SkinDeformer에는 여러 본이 포함된 세트가 있으며 각 본은 노드에 연결됩니다. 참고: 지오메트리의 컨트롤 포인트는 둘 이상의 본에 연결될 수 있습니다.

생성자

생성자설명
Bone(String name)Bone 클래스의 새 인스턴스를 초기화합니다.
Bone()Bone 클래스의 새 인스턴스를 초기화합니다.

메서드

메서드설명
equals(Object arg0)
findProperty(String propertyName)속성을 찾습니다.
get(int index)지정된 컨트롤 포인트의 블렌드 가중치를 가져옵니다.
getBoneTransform()본의 변환 행렬을 가져옵니다.
getClass()
getLinkMode()뼈대의 연결 모드는 계층 구조 내에서 뼈가 부모 뼈와 연결되거나 링크되는 방식을 나타냅니다.
getName()이름을 가져옵니다.
getNode()노드를 가져옵니다.
getProperties()모든 속성의 컬렉션을 가져옵니다.
getProperty(String property)지정된 속성의 값을 가져옵니다
getTransform()뼈를 포함하는 노드의 변환 행렬을 가져옵니다.
getWeight(int index)인덱스로 지정된 제어점의 가중치를 가져옵니다.
getWeightCount()가중치 개수를 가져옵니다. 이는 setWeight으로 자동으로 확장됩니다.
hashCode()
notify()
notifyAll()
removeProperty(Property property)동적 속성을 제거합니다.
removeProperty(String property)이름으로 식별되는 지정된 속성을 제거합니다.
set(int index, double value)지정된 제어점의 블렌드 가중치를 설정합니다.
setBoneTransform(Matrix4 value)뼈의 변환 행렬을 설정합니다.
setLinkMode(BoneLinkMode value)뼈대의 연결 모드는 계층 구조 내에서 뼈가 부모 뼈와 연결되거나 링크되는 방식을 나타냅니다.
setName(String value)이름을 설정합니다.
setNode(Node value)노드를 설정합니다.
setProperty(String property, Object value)지정된 속성의 값을 설정합니다.
setTransform(Matrix4 value)뼈를 포함하는 노드의 변환 행렬을 설정합니다.
setWeight(int index, double weight)인덱스로 지정된 제어점의 가중치를 설정합니다.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

Bone(String name)

public Bone(String name)

Bone 클래스의 새 인스턴스를 초기화합니다.

Parameters:

매개변수형식설명
이름java.lang.String이름.

Bone()

public Bone()

Bone 클래스의 새 인스턴스를 초기화합니다.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

매개변수형식설명
arg0java.lang.Object

Returns: boolean

findProperty(String propertyName)

public Property findProperty(String propertyName)

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

Parameters:

매개변수형식설명
propertyNamejava.lang.String속성 이름.

Returns: Property - The property.

get(int index)

public double get(int index)

지정된 컨트롤 포인트의 블렌드 가중치를 가져옵니다.

Parameters:

매개변수형식설명
인덱스int가중치 인덱스

Returns: double - 가중치

getBoneTransform()

public Matrix4 getBoneTransform()

본의 변환 행렬을 가져옵니다.

Returns: Matrix4 - the transform matrix of the bone.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getLinkMode()

public BoneLinkMode getLinkMode()

뼈대의 연결 모드는 계층 구조 내에서 뼈가 부모 뼈와 연결되거나 링크되는 방식을 나타냅니다.

Returns: BoneLinkMode - A bone’s link mode refers to the way in which a bone is connected or linked to its parent bone within a hierarchical structure.

getName()

public String getName()

이름을 가져옵니다.

Returns: java.lang.String - 이름.

getNode()

public Node getNode()

노드를 가져옵니다. 뼈 노드는 스킨이 부착되는 뼈이며, SkinDeformer는 뼈 노드를 사용하여 제어점들의 변위를 영향을 줍니다. 뼈 노드에는 일반적으로 Skeleton이 연결되어 있지만 필수는 아닙니다. 연결된 Skeleton은 보통 DCC 소프트웨어에서 사용자가 스켈레톤을 볼 수 있도록 사용됩니다.

Returns: Node - the node. The bone node is the bone which skin attached to, the SkinDeformer will use bone node to influence the displacement of the control points. Bone node usually has a Skeleton attached, but it’s not required. Attached Skeleton is usually used by DCC software to show skeleton to user.

getProperties()

public PropertyCollection getProperties()

모든 속성의 컬렉션을 가져옵니다.

Returns: PropertyCollection - the collection of all properties.

getProperty(String property)

public Object getProperty(String property)

지정된 속성의 값을 가져옵니다

Parameters:

매개변수형식설명
속성java.lang.String속성 이름

Returns: java.lang.Object - 찾은 속성의 값

getTransform()

public Matrix4 getTransform()

뼈를 포함하는 노드의 변환 행렬을 가져옵니다.

Returns: Matrix4 - the transform matrix of the node containing the bone.

getWeight(int index)

public double getWeight(int index)

인덱스로 지정된 제어점의 가중치를 가져옵니다.

Parameters:

매개변수형식설명
인덱스int제어점 인덱스

Returns: double - 지정된 인덱스의 가중치, 인덱스가 유효하지 않으면 0

getWeightCount()

public int getWeightCount()

가중치 개수를 가져옵니다. 이는 setWeight으로 자동으로 확장됩니다.

Returns: int - 가중치 개수, 이는 setWeight으로 자동으로 확장됩니다.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

removeProperty(Property property)

public boolean removeProperty(Property property)

동적 속성을 제거합니다.

Parameters:

매개변수형식설명
propertyProperty제거할 속성

Returns: boolean - 속성이 성공적으로 제거되면 true

removeProperty(String property)

public boolean removeProperty(String property)

이름으로 식별되는 지정된 속성을 제거합니다.

Parameters:

매개변수형식설명
속성java.lang.String제거할 속성

Returns: boolean - 속성이 성공적으로 제거되면 true

set(int index, double value)

public void set(int index, double value)

지정된 제어점의 블렌드 가중치를 설정합니다.

Parameters:

매개변수형식설명
인덱스int가중치 인덱스
double새 값

setBoneTransform(Matrix4 value)

public void setBoneTransform(Matrix4 value)

뼈의 변환 행렬을 설정합니다.

Parameters:

매개변수형식설명
valueMatrix4새 값

setLinkMode(BoneLinkMode value)

public void setLinkMode(BoneLinkMode value)

뼈대의 연결 모드는 계층 구조 내에서 뼈가 부모 뼈와 연결되거나 링크되는 방식을 나타냅니다.

Parameters:

매개변수형식설명
valueBoneLinkMode새 값

setName(String value)

public void setName(String value)

이름을 설정합니다.

Parameters:

매개변수형식설명
java.lang.String새 값

setNode(Node value)

public void setNode(Node value)

노드를 설정합니다. 뼈 노드는 스킨이 부착되는 뼈이며, SkinDeformer는 뼈 노드를 사용하여 제어점들의 변위를 영향을 줍니다. 뼈 노드에는 일반적으로 Skeleton이 연결되어 있지만 필수는 아닙니다. 연결된 Skeleton은 보통 DCC 소프트웨어에서 사용자가 스켈레톤을 볼 수 있도록 사용됩니다.

Parameters:

매개변수형식설명
valueNode새 값

setProperty(String property, Object value)

public void setProperty(String property, Object value)

지정된 속성의 값을 설정합니다.

Parameters:

매개변수형식설명
속성java.lang.String속성 이름
java.lang.Object속성의 값

setTransform(Matrix4 value)

public void setTransform(Matrix4 value)

뼈를 포함하는 노드의 변환 행렬을 설정합니다.

Parameters:

매개변수형식설명
valueMatrix4새 값

setWeight(int index, double weight)

public void setWeight(int index, double weight)

인덱스로 지정된 제어점의 가중치를 설정합니다.

Parameters:

매개변수형식설명
인덱스int제어점 인덱스
가중치double새 가중치

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

매개변수형식설명
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

매개변수형식설명
arg0long
arg1int