Class Box
Inheritance
System.Object
Box
Implements
System.IDisposable
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()
Assembly: Experior.Core.dll
Syntax
public class Box : Static, IStatic, IRigidPart, IDisposable, IMeshObject, ISceneObject
Constructors
Box(Single, Single, Single)
Declaration
public Box(float length, float height, float width)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
Declaration
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
color |
|
Declaration
public Box(Color color, float length, float height, float width)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
color |
|
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
Declaration
public Box(Color color, float length, float height, float width, float rampsize)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
color |
|
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Single |
rampsize |
|
Declaration
public Box(Color color, float length, float height, float width, float rampsize, RampEnds rampends)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
color |
|
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Single |
rampsize |
|
RampEnds |
rampends |
|
Declaration
public Box(Color color, float length, float height, float width, float rampsize, RampSides rampsides)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
color |
|
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Single |
rampsize |
|
RampSides |
rampsides |
|
Declaration
public Box(Color color, float length, float height, float width, float rampsize, RampTypes ramptype, RampEnds rampend, RampSides rampside, float endoffsetleft, float endoffsetright)
Parameters
Type |
Name |
Description |
System.Windows.Media.Color |
color |
|
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Single |
rampsize |
|
RampTypes |
ramptype |
|
RampEnds |
rampend |
|
RampSides |
rampside |
|
System.Single |
endoffsetleft |
|
System.Single |
endoffsetright |
|
Properties
EndOffsetLeft
Declaration
public float EndOffsetLeft { get; set; }
Property Value
Type |
Description |
System.Single |
|
EndOffsetRight
Declaration
public float EndOffsetRight { get; set; }
Property Value
Type |
Description |
System.Single |
|
Height
Declaration
[TypeConverter(typeof(FloatMeterToMillimeter))]
public virtual float Height { get; set; }
Property Value
Type |
Description |
System.Single |
|
Length
Declaration
[TypeConverter(typeof(FloatMeterToMillimeter))]
public virtual float Length { get; set; }
Property Value
Type |
Description |
System.Single |
|
Ramp
Declaration
[Browsable(false)]
public float Ramp { get; set; }
Property Value
Type |
Description |
System.Single |
|
RampEnd
Declaration
[Browsable(false)]
public RampEnds RampEnd { get; set; }
Property Value
RampSide
Declaration
[Browsable(false)]
public RampSides RampSide { get; set; }
Property Value
RampType
Declaration
[Browsable(false)]
public RampTypes RampType { get; set; }
Property Value
Size
Declaration
[Browsable(false)]
public Vector3 Size { get; set; }
Property Value
Type |
Description |
System.Numerics.Vector3 |
|
Width
Declaration
[TypeConverter(typeof(FloatMeterToMillimeter))]
public virtual float Width { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
SegmentIntersect(Vector3)
Declaration
public Intersection SegmentIntersect(Vector3 pos)
Parameters
Type |
Name |
Description |
System.Numerics.Vector3 |
pos |
|
Returns
SegmentIntersect(Vector3, Single)
Declaration
public Intersection SegmentIntersect(Vector3 pos, float tolerance)
Parameters
Type |
Name |
Description |
System.Numerics.Vector3 |
pos |
|
System.Single |
tolerance |
|
Returns
Implements
System.IDisposable