Show / Hide Table of Contents

Class CanPart

Graphical representation of a cylinder.

Inheritance
System.Object
RigidPart
Dynamic
CanPart
Implements
IDynamic
IRigidPart
System.IDisposable
IMeshObject
ISceneObject
Inherited Members
Dynamic.centerofmass
Dynamic.density
Dynamic.rigid
Dynamic.Actor
Dynamic.AngularDamping
Dynamic.AngularVelocity
Dynamic.CenterOfMassOffsetLocalPosition
Dynamic.Collision
Dynamic.Density
Dynamic.Enabled
Dynamic.GlobalOrientationBefore
Dynamic.GlobalPosBefore
Dynamic.Height
Dynamic.HeightBefore
Dynamic.Kinematic
Dynamic.Length
Dynamic.LinearDamping
Dynamic.LinearVelocity
Dynamic.Orientation
Dynamic.Load
Dynamic.Pitch
Dynamic.Position
Dynamic.SetOrientation
Dynamic.SetPosition
Dynamic.Rigid
Dynamic.Roll
Dynamic.Sleeping
Dynamic.SleepThreshold
Dynamic.TextureId
Dynamic.Velocity
Dynamic.Weight
Dynamic.Width
Dynamic.Yaw
Dynamic.AddForce(Vector3)
Dynamic.AddForceAtPosition(Vector3, Vector3)
Dynamic.AddTorque(Vector3)
Dynamic.InvokeDeAttachShape(Object)
Dynamic.InvokeShapeDeAttached(Object)
Dynamic.Rotate(Single, Single, Single)
Dynamic.Sleep()
Dynamic.Transform(Vector3, Matrix4x4)
Dynamic.WakeUp()
Dynamic.Attached()
Dynamic.LogStatus()
Dynamic.SetTransformDirty()
RigidPart.MaterialDisabled
RigidPart.meshData
RigidPart.MeshData
RigidPart.StaticGeometry
RigidPart.selectColor
RigidPart.highLightColor
RigidPart.color
RigidPart.transformDirty
RigidPart.position
RigidPart.orientation
RigidPart.yaw
RigidPart.pitch
RigidPart.roll
RigidPart.scale
RigidPart.selected
RigidPart.visible
RigidPart.sceneLayer
RigidPart.highlighted
RigidPart.Id
RigidPart.OnDisposed
RigidPart.OnDraging
RigidPart.OnLocalMovingFinished
RigidPart.OnLocalRotationFinished
RigidPart.OnMouseUp
RigidPart.OnSelected
RigidPart.ColorArgb
RigidPart.Color
RigidPart.SceneLayer
RigidPart.Configured
RigidPart.Disposed
RigidPart.Disposing
RigidPart.Dragable
RigidPart.UserSelected
RigidPart.Friction
RigidPart.LocalCoordinateSystem
RigidPart.LocalOrientation
RigidPart.LocalPitch
RigidPart.LocalPosition
RigidPart.LocalRoll
RigidPart.LocalYaw
RigidPart.Name
RigidPart.Parent
RigidPart.Scale
RigidPart.Selectable
RigidPart.Selected
RigidPart.Transformation
RigidPart.UserData
RigidPart.Visible
RigidPart.Deselect()
RigidPart.UnHighlight()
RigidPart.Highlight(Color)
RigidPart.LocalAngularMovement(Vector3, Vector3)
RigidPart.LocalMovement(Vector3, Single, Single, Single)
RigidPart.LocalMovement(Vector3, Single)
RigidPart.LocalMovementCancelAll()
RigidPart.LocalRotation(Vector3, Single, Single, Single)
RigidPart.Pick(Vector3, Vector3)
RigidPart.SegmentIntersect(Vector3)
RigidPart.SegmentIntersect(Vector3, Single)
RigidPart.Select(Color)
RigidPart.Select()
RigidPart.ToString()
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 CanPart : Dynamic, IDynamic, IRigidPart, IDisposable, IMeshObject, ISceneObject

Constructors

CanPart(Single, Single, Single, Color, Rigids)

Graphical representation of a cylinder.

Declaration
public CanPart(float radius, float height, float density, Color color, Rigids rigid = Rigids.Convex)
Parameters
Type Name Description
System.Single radius

Radius of the cylinder in meters.

System.Single height

Height of the cylinder in meters.

System.Single density

Density of the cylinder in kilogram per cubic meter.

System.Windows.Media.Color color

Color of the cylinder.

Rigids rigid

Rigid body type of the cylinder.

Properties

Radius

Radius of the cylinder in meters.

Declaration
public float Radius { get; }
Property Value
Type Description
System.Single

Methods

Dispose()

Disposes the cylinder.

Declaration
public override sealed void Dispose()
Overrides
Dynamic.Dispose()
Exceptions
Type Condition
System.Exception

Thrown when Parent is already disposing.

Implements

IDynamic
IRigidPart
System.IDisposable
IMeshObject
ISceneObject
Back to top Generated by DocFX