Paradox Game Engine
v1.0.0 beta06
Main Page
Related Pages
Packages
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Events
Macros
Pages
CapsuleColliderShapeDesc.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<CapsuleColliderShapeDesc>))]
8
[DataContract(
"CapsuleColliderShapeDesc"
)]
9
public
class
CapsuleColliderShapeDesc
:
IColliderShapeDesc
10
{
11
/// <userdoc>
12
/// Select this if this shape will represent a 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)]
21
public
Vector3
LocalOffset
;
22
23
/// <userdoc>
24
/// The radius of the capsule.
25
/// </userdoc>
26
[DataMember(30)]
27
public
float
Radius
;
28
29
/// <userdoc>
30
/// The height of the capsule.
31
/// </userdoc>
32
[DataMember(40)]
33
public
float
Height
;
34
35
/// <userdoc>
36
/// The up axis of the capsule, this must be either (1,0,0),(0,1,0),(0,0,1).
37
/// </userdoc>
38
[DataMember(50)]
39
public
Vector3
UpAxis = Vector3.UnitY;
40
}
41
}
SiliconStudio.Core.Mathematics.Vector3
Represents a three dimensional mathematical vector.
Definition:
Vector3.cs:42
SiliconStudio.Paradox.Physics.IColliderShapeDesc
Definition:
PhysicsColliderShapeData.cs:13
SiliconStudio.Paradox.Physics.CapsuleColliderShapeDesc.Radius
float Radius
Definition:
CapsuleColliderShapeDesc.cs:27
SiliconStudio.Paradox.Physics.CapsuleColliderShapeDesc.Is2D
bool Is2D
Definition:
CapsuleColliderShapeDesc.cs:15
SiliconStudio.Paradox.Graphics.Paradox
Paradox image file.
SiliconStudio.Paradox.Physics.CapsuleColliderShapeDesc.LocalOffset
Vector3 LocalOffset
Definition:
CapsuleColliderShapeDesc.cs:21
Physics
using SiliconStudio.Paradox. Physics
Definition:
ColliderShapeAssetCompiler.cs:17
SiliconStudio.Paradox.Physics.CapsuleColliderShapeDesc
Definition:
CapsuleColliderShapeDesc.cs:9
SiliconStudio.Paradox.Physics.CapsuleColliderShapeDesc.Height
float Height
Definition:
CapsuleColliderShapeDesc.cs:33
sources
engine
SiliconStudio.Paradox.Physics
Data
CapsuleColliderShapeDesc.cs
Generated on Sat Dec 20 2014 21:51:57 for Paradox Game Engine by
1.8.7