当前位置: 首页>>代码示例>>C#>>正文


C# HotSpotDistance类代码示例

本文整理汇总了C#中HotSpotDistance的典型用法代码示例。如果您正苦于以下问题:C# HotSpotDistance类的具体用法?C# HotSpotDistance怎么用?C# HotSpotDistance使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


HotSpotDistance类属于命名空间,在下文中一共展示了HotSpotDistance类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: OnSelected

        /// <summary>
        /// Overridden function
        /// </summary>
        public override void OnSelected()
        {
            base.OnSelected ();

              System.Diagnostics.Debug.Assert(_hotSpotGravity==null);
              System.Diagnostics.Debug.Assert(_hotSpotLightGridOfs==null);

              // hotspot for gravity
              _hotSpotGravity = new HotSpotDistance(this,@"textures\Hotspot_G.tga",VisionColors.Yellow,HotSpotBase.PickType.Square,4.0f);
              _hotSpotGravity.StartDistance = this.Gravity;
              _hotSpotGravity.Axis = -Vector3F.ZAxis; // always point down in world space
              _hotSpotGravity.ToolTipText = "Gravity";
              _hotSpotGravity.DisplayScaling = EditorManager.Settings.GlobalUnitScaling;
              EditorManager.ActiveView.HotSpots.Add(_hotSpotGravity);

              // light grid ofs
              Debug.Assert(_hotSpotLightGridOfs==null);
              _hotSpotLightGridOfs = new HotSpot3D(this,16.0f);
              _hotSpotLightGridOfs.ToolTipText = "light grid offset";
              _hotSpotLightGridOfs.StartPosition = LightGridSampleOfs;
              EditorManager.ActiveView.HotSpots.Add(_hotSpotLightGridOfs);
        }
开发者ID:bgarrels,项目名称:projectanarchy,代码行数:25,代码来源:ClothObjectShape.cs

示例2: OnSelected

        /// <summary>
        /// Overridden function
        /// </summary>
        public override void OnSelected()
        {
            base.OnSelected ();
              System.Diagnostics.Debug.Assert(_hotSpotSizeX==null);
              System.Diagnostics.Debug.Assert(_hotSpotSizeY==null);

              // hotspot for x-size
              _hotSpotSizeX = new HotSpotDistance(this,@"textures\Hotspot_Rect.dds",VisionColors.Yellow,HotSpotBase.PickType.Square,4.0f);
              _hotSpotSizeX.StartDistance = this.SizeX;
              _hotSpotSizeX.Axis = this.XAxis;
              _hotSpotSizeX.ToolTipText = "Size X";
              _hotSpotSizeX.DisplayScaling = 0.5f * ScaleX;
              EditorManager.ActiveView.HotSpots.Add(_hotSpotSizeX);
              // hotspot for y-size
              _hotSpotSizeY = new HotSpotDistance(this,@"textures\Hotspot_Rect.dds",VisionColors.Yellow,HotSpotBase.PickType.Square,4.0f);
              _hotSpotSizeY.StartDistance = this.SizeY;
              _hotSpotSizeY.Axis = this.YAxis;
              _hotSpotSizeY.ToolTipText = "Size Y";
              _hotSpotSizeY.DisplayScaling = 0.5f * ScaleY;
              EditorManager.ActiveView.HotSpots.Add(_hotSpotSizeY);
        }
开发者ID:elemen,项目名称:projectanarchy,代码行数:24,代码来源:MirrorShape.cs

示例3: OnSelected

        /// <summary>
        /// Called when the shape is selected
        /// </summary>
        public override void OnSelected()
        {
            base.OnSelected ();
              System.Diagnostics.Debug.Assert(_hotSpotSizeX==null);
              System.Diagnostics.Debug.Assert(_hotSpotSizeY==null);
              System.Diagnostics.Debug.Assert(_hotSpotSizeZ==null);

              // create the hotspots:

              // hotspot for size X
              _hotSpotSizeX = new HotSpotDistance(this,@"textures\Hotspot_Rect.dds",VisionColors.Yellow,HotSpotBase.PickType.Square,4.0f);
              _hotSpotSizeX.StartDistance = this.BoxSizeX;
              _hotSpotSizeX.DisplayScaling = 0.5f * ScaleX;
              _hotSpotSizeX.Axis = XAxis;
              _hotSpotSizeX.ToolTipText = "size x direction";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotSizeX);

              // hotspot for size Y
              _hotSpotSizeY = new HotSpotDistance(this,@"textures\Hotspot_Rect.dds",VisionColors.Yellow,HotSpotBase.PickType.Square,4.0f);
              _hotSpotSizeY.StartDistance = this.BoxSizeY;
              _hotSpotSizeY.DisplayScaling = 0.5f * ScaleY;
              _hotSpotSizeY.Axis = YAxis;
              _hotSpotSizeY.ToolTipText = "size y direction";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotSizeY);

              // hotspot for size Z
              _hotSpotSizeZ = new HotSpotDistance(this,@"textures\Hotspot_Rect.dds",VisionColors.Yellow,HotSpotBase.PickType.Square,4.0f);
              _hotSpotSizeZ.StartDistance = this.BoxSizeZ;
              _hotSpotSizeZ.DisplayScaling = 0.5f * ScaleZ;
              _hotSpotSizeZ.Axis = ZAxis;
              _hotSpotSizeZ.ToolTipText = "size z direction";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotSizeZ);

              UpdateHotspotVisibility();

              // add more hotspots here...
        }
开发者ID:romance-ii,项目名称:projectanarchy,代码行数:40,代码来源:TriggerBoxShape.cs

示例4: OnSelected

        /// <summary>
        /// Overridden function
        /// </summary>
        public override void OnSelected()
        {
            base.OnSelected ();

              System.Diagnostics.Debug.Assert(_hotSpotConeAngleX==null);
              System.Diagnostics.Debug.Assert(_hotSpotConeAngleY==null);
              System.Diagnostics.Debug.Assert(_hotSpotLength==null);
              System.Diagnostics.Debug.Assert(_hotSpotFadeOutDist1==null);
              System.Diagnostics.Debug.Assert(_hotSpotFadeOutDist2==null);

              // create the hotspots:

              // hotspot for cone angle x
              _hotSpotConeAngleX = new HotSpotConeAngle(this,@"textures\Hotspot_A.tga",VisionColors.Red,HotSpotBase.PickType.Square,4.0f);
              _hotSpotConeAngleX.Distance = 50.0f * EditorManager.Settings.GlobalUnitScaling;
              _hotSpotConeAngleX.StartAngle = this.ConeAngleX;
              _hotSpotConeAngleX.ToolTipText = "cone angle x";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotConeAngleX);

              // hotspot for cone angle y
              _hotSpotConeAngleY = new HotSpotConeAngle(this,@"textures\Hotspot_A.tga",VisionColors.Red,HotSpotBase.PickType.Square,4.0f);
              _hotSpotConeAngleY.Distance = 50.0f * EditorManager.Settings.GlobalUnitScaling;
              _hotSpotConeAngleY.UseOwnerUpDirection = true;
              _hotSpotConeAngleY.StartAngle = this.ConeAngleY;
              _hotSpotConeAngleY.ToolTipText = "cone angle y";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotConeAngleY);

              // hotspot for cone length
              _hotSpotLength = new HotSpotDistance(this,@"textures\Hotspot_L.tga",VisionColors.Blue,HotSpotBase.PickType.Square,4.0f);
              _hotSpotLength.StartDistance = this.Length;
              _hotSpotLength.DisplayScaling = UniformScaling;
              _hotSpotLength.Axis = this.XAxis;
              _hotSpotLength.ToolTipText = "length";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotLength);

              // hotspot for fade out distance
              _hotSpotFadeOutDist1 = new HotSpotDistance(this,@"textures\Hotspot_D.tga",VisionColors.Blue,HotSpotBase.PickType.Square,4.0f);
              _hotSpotFadeOutDist1.StartDistance = this.Length + this.FadeOutDistance;
              _hotSpotFadeOutDist1.Axis = this.XAxis;
              _hotSpotFadeOutDist1.DisplayScaling = UniformScaling;
              _hotSpotFadeOutDist1.ToolTipText = "fade out distance";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotFadeOutDist1);

              // hotspot for fade out distance
              _hotSpotFadeOutDist2 = new HotSpotDistance(this,@"textures\Hotspot_D.tga",VisionColors.Blue,HotSpotBase.PickType.Square,4.0f);
              _hotSpotFadeOutDist2.StartDistance = this.Length - this.FadeOutDistance;
              _hotSpotFadeOutDist2.Axis = this.XAxis;
              _hotSpotFadeOutDist2.DisplayScaling = UniformScaling;
              _hotSpotFadeOutDist2.ToolTipText = "fade out distance";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotFadeOutDist2);
        }
开发者ID:RexBaribal,项目名称:projectanarchy,代码行数:54,代码来源:ProjectorShape.cs

示例5: OnSelected

        /// <summary>
        /// Overridden function
        /// </summary>
        public override void OnSelected()
        {
            base.OnSelected ();

              // hotspots for reverb distances
              _hotSpotReverbMin = new HotSpotDistance(this, @"textures\Hotspot_D.tga", VisionColors.White, HotSpotBase.PickType.Square, 4.0f);
              _hotSpotReverbMin.StartDistance = MinDistance;
              _hotSpotReverbMin.Axis = this.XAxis;
              _hotSpotReverbMin.DisplayScaling = UniformScaling;
              _hotSpotReverbMin.ToolTipText = "min distance";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotReverbMin);
              _hotSpotReverbMax = new HotSpotDistance(this, @"textures\Hotspot_D.tga", VisionColors.White, HotSpotBase.PickType.Square, 4.0f);
              _hotSpotReverbMax.StartDistance = MaxDistance;
              _hotSpotReverbMax.Axis = this.XAxis;
              _hotSpotReverbMax.DisplayScaling = UniformScaling;
              _hotSpotReverbMax.ToolTipText = "max distance";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotReverbMax);
        }
开发者ID:romance-ii,项目名称:projectanarchy,代码行数:21,代码来源:FmodReverbShape.cs

示例6: CreateHeightHotSpot

 public void CreateHeightHotSpot()
 {
     // Create hotspot for height (but only if we have any vertices and scaling allows changing the height)
       if (_hotSpotHeight == null && ChildCollection.Count > 0 && ScaleZ != 0)
       {
     _hotSpotHeight = new HotSpotDistance(this, @"textures\Hotspot_H.tga", VisionColors.Yellow, HotSpotBase.PickType.Square, 10.0f);
     _hotSpotHeight.StartDistance = this.Height;
     _hotSpotHeight.DisplayScaling = ScaleZ;
     _hotSpotHeight.Axis = this.ZAxis;
     _hotSpotHeight.ToolTipText = "Volume height";
     EditorManager.ActiveView.HotSpots.Add(_hotSpotHeight);
       }
 }
开发者ID:shuaiharry,项目名称:projectanarchy,代码行数:13,代码来源:CustomVolumeShape.cs

示例7: OnSelected

        /// <summary>
        /// Called when the shape is selected
        /// </summary>
        public override void OnSelected()
        {
            base.OnSelected ();

            // create the hotspots:

            // hotspot for spotangle
            _hotSpotAngle = new HotSpotConeAngle(this,@"textures\Hotspot_A.tga",VisionColors.Red,HotSpotBase.PickType.Square,4.0f);
              _hotSpotAngle.Distance = 200.0f * EditorManager.Settings.GlobalUnitScaling;
            _hotSpotAngle.StartAngle = SpotAngle;
              _hotSpotAngle.ToolTipText = "cone angle";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotAngle);

            // hotspot for intensity
            _hotSpotIntensity = new HotSpotDistance(this,@"textures\Hotspot_R.tga",VisionColors.Yellow,HotSpotBase.PickType.Square,4.0f);
            _hotSpotIntensity.StartDistance = this.Intensity;
              _hotSpotIntensity.DisplayScaling = UniformScaling;
            _hotSpotIntensity.Axis = this.XAxis;
              _hotSpotIntensity.ToolTipText = "light influence radius";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotIntensity);

              //color
              _hotSpotColor = new HotSpotColorButton(this,"LightColor");
              _hotSpotColor.ToolTipText = "Change the light's color";
              _hotSpotColor.Set2DOffset(10.0f,10.0f);
              EditorManager.ActiveView.HotSpots.Add(_hotSpotColor);

            // add more hotspots here...
        }
开发者ID:hxzpily,项目名称:projectanarchy,代码行数:32,代码来源:DynLightShape.cs

示例8: OnSelected

        /// <summary>
        /// Overridden function
        /// </summary>
        public override void OnSelected()
        {
            base.OnSelected ();

              System.Diagnostics.Debug.Assert(_hotSpotConeAngleX==null);
              System.Diagnostics.Debug.Assert(_hotSpotConeAngleY==null);
              System.Diagnostics.Debug.Assert(_hotSpotNearClip==null);
              System.Diagnostics.Debug.Assert(_hotSpotFarClip==null);

              // create the hotspots:

              // hotspot for cone angle x
              _hotSpotConeAngleX = new HotSpotConeAngle(this,@"textures\Hotspot_A.tga",VisionColors.Red,HotSpotBase.PickType.Square,4.0f);
              _hotSpotConeAngleX.Distance = 50.0f * EditorManager.Settings.GlobalUnitScaling;
              _hotSpotConeAngleX.StartAngle = this.CameraAngleX;
              _hotSpotConeAngleX.ToolTipText = "FOV x";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotConeAngleX);

              // hotspot for cone angle y
              _hotSpotConeAngleY = new HotSpotConeAngle(this,@"textures\Hotspot_A.tga",VisionColors.Red,HotSpotBase.PickType.Square,4.0f);
              _hotSpotConeAngleY.Distance = 50.0f * EditorManager.Settings.GlobalUnitScaling;
              _hotSpotConeAngleY.UseOwnerUpDirection = true;
              _hotSpotConeAngleY.StartAngle = this.CameraAngleY;
              _hotSpotConeAngleY.ToolTipText = "FOV y";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotConeAngleY);

              // hotspot for fade out distance
              _hotSpotNearClip = new HotSpotDistance(this,@"textures\Hotspot_D.tga",VisionColors.Blue,HotSpotBase.PickType.Square,4.0f);
              _hotSpotNearClip.StartDistance = this.NearClipDistance;
              _hotSpotNearClip.Axis = this.XAxis;
              _hotSpotNearClip.ToolTipText = "Near clip distance";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotNearClip);

              // hotspot for fade out distance
              _hotSpotFarClip = new HotSpotDistance(this,@"textures\Hotspot_D.tga",VisionColors.Blue,HotSpotBase.PickType.Square,4.0f);
              _hotSpotFarClip.StartDistance = this.FarClipDistance;
              _hotSpotFarClip.Axis = this.XAxis;
              _hotSpotFarClip.ToolTipText = "Far clip distance";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotFarClip);
        }
开发者ID:shuaiharry,项目名称:projectanarchy,代码行数:43,代码来源:RenderTargetShape.cs

示例9: CreateAllHotspots

        void CreateAllHotspots()
        {
            if (_hotspotMinX != null) // hotspots are there already
            return;
              _hotspotMinX = new HotSpotDistance(this, @"textures\Hotspot_Rect.dds", VisionColors.Yellow, HotSpotBase.PickType.Square, 6.0f);
              _hotspotMinX.StartDistance = _fMinX;
              _hotspotMinX.Axis = -Vector3F.XAxis;
              _hotspotMinX.ToolTipText = "Selection Range";
              EditorManager.ActiveView.HotSpots.Add(_hotspotMinX);

              _hotspotMinY = new HotSpotDistance(this, @"textures\Hotspot_Rect.dds", VisionColors.Yellow, HotSpotBase.PickType.Square, 6.0f);
              _hotspotMinY.StartDistance = _fMinY;
              _hotspotMinY.Axis = -Vector3F.YAxis;
              _hotspotMinY.ToolTipText = "Selection Range";
              EditorManager.ActiveView.HotSpots.Add(_hotspotMinY);

              _hotspotMaxX = new HotSpotDistance(this, @"textures\Hotspot_Rect.dds", VisionColors.Yellow, HotSpotBase.PickType.Square, 6.0f);
              _hotspotMaxX.StartDistance = _fMaxX;
              _hotspotMaxX.Axis = Vector3F.XAxis;
              _hotspotMaxX.ToolTipText = "Selection Range";
              EditorManager.ActiveView.HotSpots.Add(_hotspotMaxX);

              _hotspotMaxY = new HotSpotDistance(this, @"textures\Hotspot_Rect.dds", VisionColors.Yellow, HotSpotBase.PickType.Square, 6.0f);
              _hotspotMaxY.StartDistance = _fMaxY;
              _hotspotMaxY.Axis = Vector3F.YAxis;
              _hotspotMaxY.ToolTipText = "Selection Range";
              EditorManager.ActiveView.HotSpots.Add(_hotspotMaxY);

              _hotspotMinX.DisplayScaling = ScaleX;
              _hotspotMaxX.DisplayScaling = ScaleX;
              _hotspotMinY.DisplayScaling = ScaleY;
              _hotspotMaxY.DisplayScaling = ScaleY;

              _hotspotCopy = new CopySelectionHotspot(this);
              _hotspotCopy.Set2DOffset(-16.0f, 20.0f);
              EditorManager.ActiveView.HotSpots.Add(_hotspotCopy);

              _hotspotPaste = new PasteSelectionHotspot(this);
              _hotspotPaste.Set2DOffset(-16.0f, 56.0f);
              EditorManager.ActiveView.HotSpots.Add(_hotspotPaste);

              _hotspotAdjustSize = new AdjustPasteSizeHotspot(this);
              _hotspotAdjustSize.Set2DOffset(20.0f, 56.0f);
              EditorManager.ActiveView.HotSpots.Add(_hotspotAdjustSize);

              UpdateHotspotVisibility();
        }
开发者ID:bgarrels,项目名称:projectanarchy,代码行数:47,代码来源:TerrainSelectionShape.cs

示例10: OnSelected

        /// <summary>
        /// Overridden function
        /// </summary>
        public override void OnSelected()
        {
            base.OnSelected ();

              System.Diagnostics.Debug.Assert(_hotSpotVolume==null);

              // hotspot for sound volume
              _hotSpotVolume = new HotSpotDistance(this, @"textures\Hotspot_V.tga", VisionColors.Cyan, HotSpotBase.PickType.Square, 10.0f);
              _hotSpotVolume.DisplayScaling = 100.0f;
              _hotSpotVolume.StartDistance = Volume;
              _hotSpotVolume.Axis = this.ZAxis;
              _hotSpotVolume.ToolTipText = "Volume";
              _hotSpotVolume.SetRange(0.0f, 1.0f);
              EditorManager.ActiveView.HotSpots.Add(_hotSpotVolume);

              // hotspots for distance fading
              _hotSpotFadeMin = new HotSpotDistance(this, @"textures\Hotspot_D.tga", VisionColors.Blue, HotSpotBase.PickType.Square, 4.0f);
              _hotSpotFadeMin.StartDistance = MinDistance;
              _hotSpotFadeMin.Axis = this.XAxis;
              _hotSpotFadeMin.DisplayScaling = UniformScaling;
              _hotSpotFadeMin.ToolTipText = "min distance";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotFadeMin);
              _hotSpotFadeMax = new HotSpotDistance(this, @"textures\Hotspot_D.tga", VisionColors.Blue, HotSpotBase.PickType.Square, 4.0f);
              _hotSpotFadeMax.StartDistance = MaxDistance;
              _hotSpotFadeMax.Axis = this.XAxis;
              _hotSpotFadeMax.DisplayScaling = UniformScaling;
              _hotSpotFadeMax.ToolTipText = "max distance";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotFadeMax);

              // hotspots for cone angles
              _hotSpotOuterCone = new HotSpotConeAngle(this, @"textures\Hotspot_A.tga", VisionColors.Red, HotSpotBase.PickType.Square, 4.0f);
              _hotSpotOuterCone.Distance = 120.0f * EditorManager.Settings.GlobalUnitScaling;
              _hotSpotOuterCone.StartAngle = this.ConeOutside;
              _hotSpotOuterCone.ToolTipText = "Outer cone angle";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotOuterCone);
              _hotSpotInnerCone = new HotSpotConeAngle(this, @"textures\Hotspot_A.tga", VisionColors.Red, HotSpotBase.PickType.Square, 4.0f);
              _hotSpotInnerCone.Distance = 100.0f * EditorManager.Settings.GlobalUnitScaling;
              _hotSpotInnerCone.StartAngle = this.ConeInside;
              _hotSpotInnerCone.ToolTipText = "Inner cone angle";
              EditorManager.ActiveView.HotSpots.Add(_hotSpotInnerCone);

              // hotspot for playing sound
              _hotSpotPlaySound = new HotSpotPlayButton(this, @"textures\Media_play.TGA", VisionColors.RGBA(200,200,200,255), VisionColors.White, 15.0f);
              _hotSpotPlaySound.ToolTipText = "Play sound";
              _hotSpotPlaySound.Set2DOffset(0.0f, 30.0f);
              EditorManager.ActiveView.HotSpots.Add(_hotSpotPlaySound);

              UpdateHotspotVisibility();
        }
开发者ID:hxzpily,项目名称:projectanarchy,代码行数:52,代码来源:FmodSoundShape.cs

示例11: RemoveHotSpots

        public void RemoveHotSpots()
        {
            if (_hotSpotX != null)
              {
            EditorManager.ActiveView.HotSpots.Remove(_hotSpotX);
            _hotSpotX.Remove();
            _hotSpotX = null;
              }

              if (_hotSpotY != null)
              {
            EditorManager.ActiveView.HotSpots.Remove(_hotSpotY);
            _hotSpotY.Remove();
            _hotSpotY = null;
              }

              if (_hotSpotXY != null)
              {
            EditorManager.ActiveView.HotSpots.Remove(_hotSpotXY);
            _hotSpotXY.Remove();
            _hotSpotXY = null;
              }
        }
开发者ID:romance-ii,项目名称:projectanarchy,代码行数:23,代码来源:MobileWaterShape.cs

示例12: OnUnSelected

 /// <summary>
 /// Called when the shape is unselected
 /// </summary>
 public override void OnUnSelected()
 {
  #if (MESHGROUP_USE_LINKING)
   SafeRemoveHotSpot(_hotSpotSizeX);_hotSpotSizeX=null;
   SafeRemoveHotSpot(_hotSpotSizeY);_hotSpotSizeY=null;
   SafeRemoveHotSpot(_hotSpotSizeZ);_hotSpotSizeZ=null;
  #endif
   base.OnUnSelected ();
 }
开发者ID:hxzpily,项目名称:projectanarchy,代码行数:12,代码来源:StaticMeshGroupShape.cs

示例13: OnUnSelected

        /// <summary>
        /// Called when the shape is unselected
        /// </summary>
        public override void OnUnSelected()
        {
            // release the hotspots again:
              SafeRemoveHotSpot(_hotSpotFanAngle);_hotSpotFanAngle=null;
              SafeRemoveHotSpot(_hotSpotFanIntensity);_hotSpotFanIntensity=null;
              SafeRemoveHotSpot(_hotSpotRadius);_hotSpotRadius=null;
              SafeRemoveHotSpot(_hotSpotLength);_hotSpotLength=null;
              SafeRemoveHotSpot(_hotSpotSizeX);_hotSpotSizeX=null;
              SafeRemoveHotSpot(_hotSpotSizeY);_hotSpotSizeY=null;
              SafeRemoveHotSpot(_hotSpotSizeZ);_hotSpotSizeZ=null;

              base.OnUnSelected ();
        }
开发者ID:elemen,项目名称:projectanarchy,代码行数:16,代码来源:ConstraintShape.cs

示例14: OnUnSelected

        /// <summary>
        /// Overridden function
        /// </summary>
        public override void OnUnSelected()
        {
            // release the hotspots again:
              SafeRemoveHotSpot(_hotSpotReverbMin); _hotSpotReverbMin = null;
              SafeRemoveHotSpot(_hotSpotReverbMax); _hotSpotReverbMax = null;

              base.OnUnSelected();
        }
开发者ID:romance-ii,项目名称:projectanarchy,代码行数:11,代码来源:FmodReverbShape.cs

示例15: RemoveHeightHotSpot

 public void RemoveHeightHotSpot()
 {
     if (_hotSpotHeight != null)
       {
     EditorManager.ActiveView.HotSpots.Remove(_hotSpotHeight);
     _hotSpotHeight.Remove();
     _hotSpotHeight = null;
       }
 }
开发者ID:shuaiharry,项目名称:projectanarchy,代码行数:9,代码来源:CustomVolumeShape.cs


注:本文中的HotSpotDistance类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。