Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SphereColliderShapeDesc.cs
Go to the documentation of this file.
1 using SiliconStudio.Core;
2 using SiliconStudio.Core.Mathematics;
3 using SiliconStudio.Core.Serialization.Contents;
4 
5 namespace SiliconStudio.Paradox.Physics
6 {
7  [ContentSerializer(typeof(DataContentSerializer<SphereColliderShapeDesc>))]
8  [DataContract("SphereColliderShapeDesc")]
10  {
11  /// <userdoc>
12  /// Select this if this shape will represent a Circle 2D shape
13  /// </userdoc>
14  [DataMember(10)]
15  public bool Is2D;
16 
17  /// <userdoc>
18  /// The offset with the real graphic mesh.
19  /// </userdoc>
20  [DataMember(20)]
22 
23  /// <userdoc>
24  /// The radius of the sphere/circle.
25  /// </userdoc>
26  [DataMember(30)]
27  public float Radius;
28  }
29 }
Represents a three dimensional mathematical vector.
Definition: Vector3.cs:42
using SiliconStudio.Paradox. Physics