Class BoxPart
Graphical representation of a box.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Experior.Core.Loads
Assembly: Experior.Core.dll
Syntax
public class BoxPart : Dynamic, IDynamic, IRigidPart, IDisposable, IMeshObject, ISceneObject
Constructors
BoxPart(Single, Single, Single, Single, Color, Rigids)
Graphical representation of a box.
Declaration
public BoxPart(float length, float height, float width, float density, Color color, Rigids rigid)
Parameters
Type | Name | Description |
---|---|---|
System.Single | length | Length of the box in meters. |
System.Single | height | Height of the box in meters. |
System.Single | width | Width of the box in meters. |
System.Single | density | Density of the box in kilogram per cubic meter. |
System.Windows.Media.Color | color | Color of the box. |
Rigids | rigid | Rigid body type of the box. |
Properties
Height
Height of the box in meters.
Declaration
public float Height { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Length
Length of the box in meters.
Declaration
public float Length { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Width
Width of the box in meters.
Declaration
public float Width { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
Dispose()
Disposes the box.
Declaration
public override sealed void Dispose()
Overrides
Exceptions
Type | Condition |
---|---|
System.Exception | Thrown when Parent is already disposing. |
Implements
System.IDisposable