Class ConveyorRoller
Inheritance
System.Object
ConveyorRoller
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 ConveyorRoller : Static, IStatic, IElectricMotorPart, IRigidPart, IDisposable, IMeshObject, ISceneObject
Constructors
ConveyorRoller(Single, Single)
Declaration
public ConveyorRoller(float length, float rollerradius)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
rollerradius |
|
ConveyorRoller(Single, Single, Boolean)
Declaration
public ConveyorRoller(float length, float rollerradius, bool rigid)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
rollerradius |
|
System.Boolean |
rigid |
|
ConveyorRoller(Single, Single, Int32)
Declaration
public ConveyorRoller(float length, float rollerradius, int slices)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
rollerradius |
|
System.Int32 |
slices |
|
ConveyorRoller(Single, Single, Single)
Declaration
public ConveyorRoller(float length, float rollerradiusinner, float rollerradiusouter)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
rollerradiusinner |
|
System.Single |
rollerradiusouter |
|
ConveyorRoller(Single, Single, Single, Boolean)
Declaration
public ConveyorRoller(float length, float rollerradiusinner, float rollerradiusouter, bool rigid)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
rollerradiusinner |
|
System.Single |
rollerradiusouter |
|
System.Boolean |
rigid |
|
ConveyorRoller(Single, Single, Single, Boolean, Int32)
Declaration
public ConveyorRoller(float length, float rollerradiusinner, float rollerradiusouter, bool rigid, int slices)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
rollerradiusinner |
|
System.Single |
rollerradiusouter |
|
System.Boolean |
rigid |
|
System.Int32 |
slices |
|
ConveyorRoller(Single, Single, Single, Int32)
Declaration
public ConveyorRoller(float length, float rollerradiusinner, float rollerradiusouter, int slices)
Parameters
Type |
Name |
Description |
System.Single |
length |
|
System.Single |
rollerradiusinner |
|
System.Single |
rollerradiusouter |
|
System.Int32 |
slices |
|
Properties
AngularVelocity
Declaration
[Browsable(false)]
public Vector3 AngularVelocity { get; set; }
Property Value
Type |
Description |
System.Numerics.Vector3 |
|
Length
Declaration
[TypeConverter(typeof(FloatMeterToMillimeter))]
public float Length { get; set; }
Property Value
Type |
Description |
System.Single |
|
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
Radius
Declaration
[TypeConverter(typeof(FloatMeterToMillimeter))]
public float Radius { get; set; }
Property Value
Type |
Description |
System.Single |
|
Size
Declaration
[Browsable(false)]
public Vector3 Size { get; set; }
Property Value
Type |
Description |
System.Numerics.Vector3 |
|
SpeedFactor
Declaration
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
Declaration
protected override void TransformActor()
Overrides
Events
OnMotorAdded
Declaration
public event ConveyorRoller.ConveyorRollerEvent OnMotorAdded
Event Type
OnMotorRemoved
Declaration
public event ConveyorRoller.ConveyorRollerEvent OnMotorRemoved
Event Type
Implements
System.IDisposable