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