Struct ModifiableJacobianHeader
A modifiable jacobian header.
Inherited Members
Namespace: Unity.Physics
Syntax
public struct ModifiableJacobianHeader
Properties
AngularChanged
Gets a value indicating whether the angular was changed.
Declaration
public bool AngularChanged { get; }
Property Value
Type | Description |
---|---|
Boolean | True if angular changed, false if not. |
BodyIndexA
Gets the body index a.
Declaration
public readonly int BodyIndexA { get; }
Property Value
Type | Description |
---|---|
Int32 | The body index a. |
BodyIndexB
Gets the body index b.
Declaration
public readonly int BodyIndexB { get; }
Property Value
Type | Description |
---|---|
Int32 | The body index b. |
EntityA
Gets the entity a.
Declaration
public readonly Entity EntityA { get; }
Property Value
Type | Description |
---|---|
Entity | The entity a. |
EntityB
Gets the entity b.
Declaration
public readonly Entity EntityB { get; }
Property Value
Type | Description |
---|---|
Entity | The entity b. |
Flags
Gets or sets the Jacobian flags.
Declaration
public JacobianFlags Flags { get; set; }
Property Value
Type | Description |
---|---|
JacobianFlags | The Jacobian flags. |
HasMassFactors
Gets a value indicating whether this object has mass factors.
Declaration
public readonly bool HasMassFactors { get; }
Property Value
Type | Description |
---|---|
Boolean | True if this object has mass factors, false if not. |
HasSurfaceVelocity
Gets a value indicating whether this object has surface velocity.
Declaration
public readonly bool HasSurfaceVelocity { get; }
Property Value
Type | Description |
---|---|
Boolean | True if this object has surface velocity, false if not. |
MassFactors
Gets or sets the mass factors.
Declaration
public MassFactors MassFactors { get; set; }
Property Value
Type | Description |
---|---|
MassFactors | The mass factors. |
ModifiersChanged
Gets a value indicating whether the modifiers was changed.
Declaration
public bool ModifiersChanged { get; }
Property Value
Type | Description |
---|---|
Boolean | True if modifiers changed, false if not. |
SurfaceVelocity
Gets or sets the surface velocity.
Declaration
public SurfaceVelocity SurfaceVelocity { get; set; }
Property Value
Type | Description |
---|---|
SurfaceVelocity | The surface velocity. |
Type
Gets the Jacobian type.
Declaration
public readonly JacobianType Type { get; }
Property Value
Type | Description |
---|---|
JacobianType | The Jacobian type. |
Methods
GetAngularJacobian(Int32)
Gets angular jacobian.
Declaration
public ContactJacAngAndVelToReachCp GetAngularJacobian(int i)
Parameters
Type | Name | Description |
---|---|---|
Int32 | i | Zero-based index of the jacobian. |
Returns
Type | Description |
---|---|
ContactJacAngAndVelToReachCp | The angular jacobian. |
SetAngularJacobian(Int32, ContactJacAngAndVelToReachCp)
Sets angular jacobian.
Declaration
public void SetAngularJacobian(int i, ContactJacAngAndVelToReachCp j)
Parameters
Type | Name | Description |
---|---|---|
Int32 | i | Zero-based index of the jacobian. |
ContactJacAngAndVelToReachCp | j | A ContactJacAngAndVelToReachCp to set. |