SphereColliderShapeDesc Class
Namespace: Stride.Physics
Assembly: Stride.Physics.dll
System.Object →
SphereColliderShapeDesc
Derived from SphereColliderShapeDesc:
[ContentSerializer(typeof(DataContentSerializer<SphereColliderShapeDesc>))]
[DataContract("SphereColliderShapeDesc")]
[Display(50, "Sphere", null)]
public class SphereColliderShapeDesc : IInlineColliderShapeDesc, IAssetColliderShapeDesc, IColliderShapeDesc
|
Improve this Doc
View Source
Fields
Is2D
[DataMember(10)]
public bool Is2D
Field Value
Type |
Description |
System.Boolean |
|
LocalOffset
[DataMember(30)]
public Vector3 LocalOffset
Field Value
Radius
[DataMember(20)]
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