Class SphereColliderShapeDesc
[ContentSerializer(typeof(DataContentSerializer<SphereColliderShapeDesc>))]
[DataContract("SphereColliderShapeDesc")]
[Display(50, "Sphere", null)]
public class SphereColliderShapeDesc : IInlineColliderShapeDesc, IAssetColliderShapeDesc, IColliderShapeDesc
- Inheritance
-
SphereColliderShapeDesc
- Implements
Fields
Is2D
[DataMember(10)]
public bool Is2D
Field Value
LocalOffset
[DataMember(30)]
public Vector3 LocalOffset
Field Value
Radius
[DataMember(20)]
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