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