Class ConveyorBelt
Inheritance
System.Object
ConveyorBelt
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 ConveyorBelt : Box, IStatic, IElectricMotorPart, IRigidPart, IDisposable, IMeshObject, ISceneObject, ILabel
Constructors
ConveyorBelt(Single, Single, Single)
Declaration
public ConveyorBelt(float length, float height, float width)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
ConveyorBelt(Single, Single, Single, Boolean)
Declaration
public ConveyorBelt(float length, float height, float width, bool ramp)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Boolean |
ramp |
|
ConveyorBelt(Single, Single, Single, Boolean, Boolean)
Declaration
public ConveyorBelt(float length, float height, float width, bool ramp, bool rigid)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Boolean |
ramp |
|
System.Boolean |
rigid |
|
ConveyorBelt(Single, Single, Single, Boolean, Single)
Declaration
public ConveyorBelt(float length, float height, float width, bool ramp, float rampsize)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Boolean |
ramp |
|
System.Single |
rampsize |
|
ConveyorBelt(Single, Single, Single, Single, Single)
Declaration
public ConveyorBelt(float length, float height, float width, float endoffsetleft, float endoffsetright)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Single |
endoffsetleft |
|
System.Single |
endoffsetright |
|
ConveyorBelt(Single, Single, Single, Single, Single, Boolean)
Declaration
public ConveyorBelt(float length, float height, float width, float endoffsetleft, float endoffsetright, bool ramp)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Single |
endoffsetleft |
|
System.Single |
endoffsetright |
|
System.Boolean |
ramp |
|
ConveyorBelt(Single, Single, Single, Single, Single, Boolean, Boolean)
Declaration
public ConveyorBelt(float length, float height, float width, float endoffsetleft, float endoffsetright, bool ramp, bool rigid)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Single |
endoffsetleft |
|
System.Single |
endoffsetright |
|
System.Boolean |
ramp |
|
System.Boolean |
rigid |
|
ConveyorBelt(Single, Single, Single, Single, Single, Boolean, Single)
Declaration
public ConveyorBelt(float length, float height, float width, float endoffsetleft, float endoffsetright, bool ramp, float rampsize)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Single |
endoffsetleft |
|
System.Single |
endoffsetright |
|
System.Boolean |
ramp |
|
System.Single |
rampsize |
|
ConveyorBelt(Single, Single, Single, Single, Single, Boolean, Single, Boolean)
Declaration
public ConveyorBelt(float length, float height, float width, float endoffsetleft, float endoffsetright, bool ramp, float rampsize, bool rigid)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
height |
|
System.Single |
width |
|
System.Single |
endoffsetleft |
|
System.Single |
endoffsetright |
|
System.Boolean |
ramp |
|
System.Single |
rampsize |
|
System.Boolean |
rigid |
|
Properties
LocalSurfaceDirection
Declaration
[Browsable(false)]
public Vector3 LocalSurfaceDirection { get; set; }
Property Value
Type |
Description |
System.Numerics.Vector3 |
|
Motor
Declaration
[Browsable(false)]
public IElectricMotor Motor { get; set; }
Property Value
SpeedFactor
Declaration
[Browsable(false)]
public float SpeedFactor { get; set; }
Property Value
Type |
Description |
System.Single |
|
SurfaceDirection
Declaration
[Browsable(false)]
public Vector3 SurfaceDirection { get; set; }
Property Value
Type |
Description |
System.Numerics.Vector3 |
|
Methods
Dispose()
Declaration
public override void Dispose()
Overrides
FrictionChanged(Object, EventArgs)
Declaration
protected override void FrictionChanged(object sender, EventArgs e)
Parameters
Type |
Name |
Description |
System.Object |
sender |
|
System.EventArgs |
e |
|
Overrides
Rotate(Single, Single, Single)
Declaration
public override void Rotate(float yaw, float pitch, float roll)
Parameters
Type |
Name |
Description |
System.Single |
yaw |
|
System.Single |
pitch |
|
System.Single |
roll |
|
Overrides
Declaration
protected override void SetTransformDirty()
Overrides
Events
OnMotorAdded
Declaration
public event ConveyorBelt.ConveyorBeltEvent OnMotorAdded
Event Type
OnMotorRemoved
Declaration
public event ConveyorBelt.ConveyorBeltEvent OnMotorRemoved
Event Type
Implements
System.IDisposable