BoundingBoxStatic Class
Namespace: Stride.Particles.BoundingShapesAssembly: Stride.Particles.dll
Derived from BoundingBoxStatic:
[DataContract("BoundingBoxStatic")]
[Display("Rotated AABB", null)]
public class BoundingBoxStatic : BoundingShape
Name | Description | |
---|---|---|
Properties | ||
Maximum | Upper corner of the AABB |
|
Minimum | Lower corner of the AABB |
|
Methods | ||
GetAABB(Vector3, Quaternion, Single) | ||
TryGetDebugDrawShape(out DebugDrawShape, out Vector3, out Quaternion, out Vector3) |
Properties
Maximum
Upper corner of the AABB
[DataMember(40)]
[Display("Upper corner", null)]
public Vector3 Maximum { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Minimum
Lower corner of the AABB
[DataMember(20)]
[Display("Lower corner", null)]
public Vector3 Minimum { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Methods
GetAABB(Vector3, Quaternion, Single)
public override BoundingBox GetAABB(Vector3 translation, Quaternion rotation, float scale)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | translation | |
Quaternion | rotation | |
System.Single | scale |
Returns
Type | Description |
---|---|
BoundingBox |
Overrides
TryGetDebugDrawShape(out DebugDrawShape, out Vector3, out Quaternion, out Vector3)
public override bool TryGetDebugDrawShape(out DebugDrawShape debugDrawShape, out Vector3 translation, out Quaternion rotation, out Vector3 scale)
Parameters
Type | Name | Description |
---|---|---|
DebugDrawShape | debugDrawShape | |
Vector3 | translation | |
Quaternion | rotation | |
Vector3 | scale |
Returns
Type | Description |
---|---|
System.Boolean |