Class CapsuleColliderShapeDesc
[ContentSerializer(typeof(DataContentSerializer<CapsuleColliderShapeDesc>))]
[DataContract("CapsuleColliderShapeDesc")]
[Display(50, "Capsule", null)]
public class CapsuleColliderShapeDesc : IInlineColliderShapeDesc, IAssetColliderShapeDesc, IColliderShapeDesc
- Inheritance
-
CapsuleColliderShapeDesc
- Implements
Fields
Is2D
[DataMember(10)]
public bool Is2D
Field Value
Length
[DataMember(20)]
public float Length
Field Value
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
Methods
CreateShape(IServiceRegistry)
public ColliderShape CreateShape(IServiceRegistry services)
Parameters
services
IServiceRegistry
Returns
Match(object)
public bool Match(object obj)
Parameters
obj
object