CapsuleColliderShapeDesc Class
Namespace: Stride.Physics
Assembly: Stride.Physics.dll
System.Object →
CapsuleColliderShapeDesc
Derived from CapsuleColliderShapeDesc:
[ContentSerializer(typeof(DataContentSerializer<CapsuleColliderShapeDesc>))]
[DataContract("CapsuleColliderShapeDesc")]
[Display(50, "Capsule", null)]
public class CapsuleColliderShapeDesc : IInlineColliderShapeDesc, IAssetColliderShapeDesc, IColliderShapeDesc
|
Improve this Doc
View Source
Fields
Is2D
[DataMember(10)]
public bool Is2D
Field Value
Type |
Description |
System.Boolean |
|
Length
[DataMember(20)]
public float Length
Field Value
Type |
Description |
System.Single |
|
LocalOffset
[DataMember(50)]
public Vector3 LocalOffset
Field Value
LocalRotation
[DataMember(60)]
public Quaternion LocalRotation
Field Value
Orientation
[DataMember(40)]
public ShapeOrientation Orientation
Field Value
Radius
[DataMember(30)]
public float Radius
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Methods
CreateShape()
public ColliderShape CreateShape()
Returns
Match(Object)
public bool Match(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods