public ILCameraWrapper(ILCamera source, ILPanelEditor editor, string path, string name = null, string label = null) : base(source, editor, path, BuildName(name, editor.Panel, source, "Camera"), label) { // ILCamera needs to be accessed from SceneSyncRoot (instead of Scene) this.source = GetSyncNode(source); this.source.MouseDoubleClick += OnMouseDoubleClick; }
public ILCamera(ILCamera vport) { m_rho = vport.m_rho; m_phi = vport.m_phi; m_distance = vport.m_distance; m_lookAtX = vport.m_lookAtX; m_lookAtY = vport.m_lookAtY; m_lookAtZ = vport.m_lookAtZ; m_posX = vport.m_posX; m_posY = vport.m_posY; m_posZ = vport.m_posZ; updateCachedVars(); computeQuadrant(); }
public ILLayoutData(ILCamera camera) { CameraPosition = camera; }
public ILCamera (ILCamera vport) { m_rho = vport.m_rho; m_phi = vport.m_phi; m_distance = vport.m_distance; m_lookAtX = vport.m_lookAtX; m_lookAtY = vport.m_lookAtY; m_lookAtZ = vport.m_lookAtZ; m_posX = vport.m_posX; m_posY = vport.m_posY; m_posZ = vport.m_posZ; updateCachedVars(); computeQuadrant(); }