Class Info |
|---|
public class Generic6DOFConstraint extends Component implements Constraint 通用6自由度约束组件。 |
Qualifier and Type | Method Name and Description |
|---|---|
| 获取通用6自由度约束组件描述符实例。 | |
| 获取角度位移下限。 | |
| 获取角度位移上限。 | |
| 获取节点A相对约束点的位置坐标。 | |
| 获取节点B相对约束点的位置坐标。 | |
| 获取节点A相对约束点的旋转四元数。 | |
| 获取节点B相对约束点的旋转四元数。 | |
| 获取线性位移下限。 | |
| 获取线性位移上限。 | |
getNodeA() 获取通用6自由度约束组件的节点A。 | |
getNodeB() 获取通用6自由度约束组件的节点B。 | |
getType() 获取约束类型。 | |
setAngularLowerLimit(Vector3 value) 设置角度位移下限。 | |
setAngularUpperLimit(Vector3 value) 设置角度位移上限。 | |
setFramePositionInA(Vector3 framePositionInA) 设置节点A相对约束点的位置坐标。 | |
setFramePositionInB(Vector3 framePositionInB) 设置节点B相对约束点的位置坐标。 | |
setFrameRotationInA(Quaternion frameRotationInA) 设置节点A相对约束点的旋转四元数。 | |
setFrameRotationInB(Quaternion frameRotationInB) 设置节点B相对约束点的旋转四元数。 | |
setLinearLowerLimit(Vector3 value) 设置线性位移下限。 | |
setLinearUpperLimit(Vector3 value) 设置线性位移上限。 | |
void | 设置通用6自由度约束组件的节点A。 |
void | 设置通用6自由度约束组件的节点B。 |
Method |
|---|
public static Generic6DOFConstraint.Descriptor descriptor() 获取通用6自由度约束组件描述符实例。 |
Returns
Type | Description |
|---|---|
通用6自由度约束组件描述符实例。 |
Method |
|---|
public Vector3 getAngularLowerLimit() 获取角度位移下限。 |
Returns
Type | Description |
|---|---|
角度位移下限。 |
Method |
|---|
public Vector3 getAngularUpperLimit() 获取角度位移上限。 |
Returns
Type | Description |
|---|---|
角度位移上限。 |
Method |
|---|
public Vector3 getFramePositionInA() 获取节点A相对约束点的位置坐标。 |
Returns
Type | Description |
|---|---|
位置坐标。 |
Method |
|---|
public Vector3 getFramePositionInB() 获取节点B相对约束点的位置坐标。 |
Returns
Type | Description |
|---|---|
位置坐标。 |
Method |
|---|
public Quaternion getFrameRotationInA() 获取节点A相对约束点的旋转四元数。 |
Returns
Type | Description |
|---|---|
旋转四元数。 |
Method |
|---|
public Quaternion getFrameRotationInB() 获取节点B相对约束点的旋转四元数。 |
Returns
Type | Description |
|---|---|
旋转四元数。 |
Method |
|---|
public Vector3 getLinearLowerLimit() 获取线性位移下限。 |
Returns
Type | Description |
|---|---|
线性位移下限。 |
Method |
|---|
public Vector3 getLinearUpperLimit() 获取线性位移上限。 |
Returns
Type | Description |
|---|---|
线性位移上限。 |
Method |
|---|
public Node getNodeA() 获取通用6自由度约束组件的节点A。 |
Returns
Type | Description |
|---|---|
通用6自由度约束组件的节点A。 |
Method |
|---|
public Node getNodeB() 获取通用6自由度约束组件的节点B。 |
Returns
Type | Description |
|---|---|
通用6自由度约束组件的节点B。 |
Method |
|---|
public Generic6DOFConstraint setAngularLowerLimit(Vector3 value) 设置角度位移下限。 |
Parameters
Name | Description |
|---|---|
value | 角度位移下限。 |
Returns
Type | Description |
|---|---|
自身实例。 |
Method |
|---|
public Generic6DOFConstraint setAngularUpperLimit(Vector3 value) 设置角度位移上限。 |
Parameters
Name | Description |
|---|---|
value | 角度位移上限。 |
Returns
Type | Description |
|---|---|
自身实例。 |
Method |
|---|
public Generic6DOFConstraint setFramePositionInA(Vector3 framePositionInA) 设置节点A相对约束点的位置坐标。 |
Parameters
Name | Description |
|---|---|
framePositionInA | 位置坐标。 |
Returns
Type | Description |
|---|---|
自身实例。 |
Method |
|---|
public Generic6DOFConstraint setFramePositionInB(Vector3 framePositionInB) 设置节点B相对约束点的位置坐标。 |
Parameters
Name | Description |
|---|---|
framePositionInB | 位置坐标。 |
Returns
Type | Description |
|---|---|
自身实例。 |
Method |
|---|
public Generic6DOFConstraint setFrameRotationInA(Quaternion frameRotationInA) 设置节点A相对约束点的旋转四元数。 |
Parameters
Name | Description |
|---|---|
frameRotationInA | 旋转四元数。 |
Returns
Type | Description |
|---|---|
自身实例。 |
Method |
|---|
public Generic6DOFConstraint setFrameRotationInB(Quaternion frameRotationInB) 设置节点B相对约束点的旋转四元数。 |
Parameters
Name | Description |
|---|---|
frameRotationInB | 旋转四元数。 |
Returns
Type | Description |
|---|---|
自身实例。 |
Method |
|---|
public Generic6DOFConstraint setLinearLowerLimit(Vector3 value) 设置线性位移下限。 |
Parameters
Name | Description |
|---|---|
value | 线性位移下限。 |
Returns
Type | Description |
|---|---|
自身实例。 |
Method |
|---|
public Generic6DOFConstraint setLinearUpperLimit(Vector3 value) 设置线性位移上限。 |
Parameters
Name | Description |
|---|---|
value | 线性位移上限。 |
Returns
Type | Description |
|---|---|
自身实例。 |
Method |
|---|
public void setNodeA(Node nodeA) 设置通用6自由度约束组件的节点A。 |
Parameters
Name | Description |
|---|---|
nodeA | 通用6自由度约束组件的节点A。 |
Method |
|---|
public void setNodeB(Node nodeB) 设置通用6自由度约束组件的节点B。 |
Parameters
Name | Description |
|---|---|
nodeB | 通用6自由度约束组件的节点B。 |