旋转与拖动(C#)

SlideRotateCtrlAction

var slideRotateCtrlAction = new SlideRotateCtrlAction();
slideRotateCtrlAction.GO = GO;
// 初始化
int Init(string trigger, string referenceCoordinateSystem, TrackInfo trackInfo, string operationMode, AuxiliaryUiInfo auxiliaryUiInfo, string debugMode = "")
int Init(string trigger, TrackInfo trackInfo, string operationMode, AuxiliaryUiInfo auxiliaryUiInfo, string debugMode = "")
int Init(string trigger, string referencePosition, string referenceRotation, string referenceScale, TrackInfo trackInfo, string operationMode, AuxiliaryUiInfo auxiliaryUiInfo, string debugMode = "")
// 修改信息
void ChangeTrackInfo(int id, TrackInfo trackInfo)
// 通过代码修改旋转或拖动
void Slide(int id, float increment)
void SlideTo(int id, float target)
// 注册回调
void RegisterBeginSlideCallBack(int id, Action callback)
void RegisterEndSlideCallBack(int id, Action callback)
void RegisterSlidingCallBack(int id, Action callback)
void RegisterValueChangeCallBack(int id, Action callback)
// 数据查询
ISlideRotationCtrl GetSlideRotationCtrl(int id)
ISlideRotationCtrl.InfoContainer
// 禁用与启用
void SetActive(int id, bool b)
// 添加旋转或拖动操作
void AddNode(int id, IInteractiveExecutor executor)
// 销毁单个实例
void DestroyComponent(int id)
// 组件资源释放
void ReleaseResource()
// 修改标签值
void ChangeLabelContent(int id, bool b, string s)