コード例 #1
0
 /// <summary>
 /// Creates a new rotation handle.
 /// </summary>
 public RotateHandle()
 {
     xAxis    = new HandleSliderDisc(this, Vector3.XAxis, 1.0f);
     yAxis    = new HandleSliderDisc(this, Vector3.YAxis, 1.0f);
     zAxis    = new HandleSliderDisc(this, Vector3.ZAxis, 1.0f);
     freeAxis = new HandleSliderDisc(this, -Vector3.ZAxis, 1.2f);
 }
コード例 #2
0
 private static extern void Internal_CreateInstance(HandleSliderDisc instance, ref Vector3 normal, float radius,
                                                    bool fixedScale, UInt64 layer);