Class Friction
Inheritance
System.Object
Friction
Implements
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.Parts
Assembly: Experior.Core.dll
Syntax
[Serializable]
[TypeConverter(typeof(ObjectConverter))]
public class Friction : IFriction
Properties
Coefficient
Declaration
[PropertyOrder(0)]
[PropertyAttributesProvider("DynamicPropertyCoefficient")]
public Coefficients Coefficient { get; set; }
Property Value
Type | Description |
---|---|
Coefficients |
Dynamic
Declaration
[PropertyAttributesProvider("DynamicPropertyCustom")]
public float Dynamic { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
None
Declaration
public static Friction None { get; }
Property Value
Type | Description |
---|---|
Friction |
Restitution
Declaration
[Browsable(false)]
public float Restitution { get; }
Property Value
Type | Description |
---|---|
System.Single |
Static
Declaration
[PropertyAttributesProvider("DynamicPropertyCustom")]
public float Static { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
DynamicPropertyCoefficient(PropertyAttributes)
Declaration
public void DynamicPropertyCoefficient(PropertyAttributes attributes)
Parameters
Type | Name | Description |
---|---|---|
PropertyAttributes | attributes |
DynamicPropertyCustom(PropertyAttributes)
Declaration
public void DynamicPropertyCustom(PropertyAttributes attributes)
Parameters
Type | Name | Description |
---|---|---|
PropertyAttributes | attributes |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
Events
OnChanged
Declaration
public event EventHandler OnChanged
Event Type
Type | Description |
---|---|
System.EventHandler |