Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
PhysicsColliderShapeData.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 
4 using System.Collections.Generic;
5 
6 using SiliconStudio.Core;
7 using SiliconStudio.Core.Serialization.Contents;
8 using SiliconStudio.Core.Serialization.Converters;
10 
11 namespace SiliconStudio.Paradox.Physics
12 {
13  public interface IColliderShapeDesc
14  {
15  }
16 
17  [DataContract("PhysicsColliderShapeData")]
18  [ContentSerializer(typeof(DataContentSerializer<PhysicsColliderShapeData>))]
19  [ContentSerializer(typeof(DataContentConverterSerializer<PhysicsColliderShape>))]
21  {
23  {
24  ColliderShapes = new List<IColliderShapeDesc>();
25  }
26 
27  /// <userdoc>
28  /// The collection of shapes in this asset, a collection shapes will automatically generate a compound shape.
29  /// </userdoc>
30  [DataMember(10)]
31  public List<IColliderShapeDesc> ColliderShapes { get; set; }
32  }
33 }
using SiliconStudio.Paradox. Physics