RotateAround
Overloads
| Name | Description |
|---|---|
| RotateAround(List<Node> node, Vector3D pivot, Vector3D axis, float angle, AngleFormat format, bool zeroBase) | 지정된 개체를 기준점에서 축 기반 회전 |
RotateAround(List<Node> node, Vector3D pivot, Vector3D axis, float angle, AngleFormat format, bool zeroBase)
public void RotateAround(List<Node> node, Vector3D pivot, Vector3D axis, float angle, AngleFormat format, bool zeroBase)
지정된 개체를 기준점에서 축 기반 회전
Parameters
| Name | Type | Description |
|---|---|---|
| node | List<Node> | 노드 |
| pivot | Vector3D | 기준점 |
| axis | Vector3D | 축 기반 |
| angle | float | 회전 각도 |
| format | AngleFormat | 각도 형식 |
| zeroBase | bool | 모델 초기 상태에서 회전 : True - 초기 상태에서 회전, False - 현재 상태에서 회전 |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
List<VIZCore3D.NET.Data.Node> node =
vizcore3d.Object3D.FromFilter(Data.Object3dFilter.SELECTED_TOP);
vizcore3d.Object3D.Transform.RotateAround(
node
new Data.Vector3D(100, 0, 0),
new Data.Vector3D(0, 0, 1),
180,
Data.AngleFormat.DEGREE,
true);
);
}