/// <summary>
        /// 修改Shape的颜色
        /// </summary>
        /// <param name="key"></param>
        /// <param name="color"></param>
        public void ChangeShapeColor(Guid key, System.Windows.Media.Color color)
        {
            Shape shape = ShapeInfo.GetShape(key, allDisplayShapes);

            if (shape != null)
            {
                shape.Color = FromWindowColor(color);
            }
        }
Example #2
0
 internal void ReconstructShapeData(physics_model_group owner)
 {
     var havok_shape = ShapeInfo.GetShape(owner);
 }