Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
PhysicsColliderShape.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 using SiliconStudio.Core.Serialization.Contents;
4 using SiliconStudio.Core.Serialization.Converters;
5 using SiliconStudio.Core.Serialization.Serializers;
6 using SiliconStudio.Paradox.EntityModel;
7 
8 namespace SiliconStudio.Paradox.Physics
9 {
10  [DataConverter(AutoGenerate = false, ContentReference = true)]
11  [DataSerializer(typeof(PhysicsColliderShapeSerializer))]
12  [ContentSerializer(typeof(DataContentConverterSerializer<PhysicsColliderShape>))]
13  [DataSerializerGlobal(typeof(CloneSerializer<PhysicsColliderShape>), Profile = "Clone")]
14  public class PhysicsColliderShape
15  {
17  {
18  Shape = shape;
19  }
20 
21  public ColliderShape Shape { get; private set; }
22  }
23 }
Base class for converters to/from a data type.
using SiliconStudio.Paradox. Physics