Struct ARKitBlendShapeCoefficient
An entry that specifies how much of a specific ARKit
Implements
Inherited Members
Namespace: UnityEngine .XR.ARKit
Assembly: Unity.XR.ARKit.FaceTracking.dll
Syntax
public struct ARKitBlendShapeCoefficient : IEquatable<ARKitBlendShapeCoefficient>
Remarks
Call Get
Properties
blendShapeLocation
The specific ARKit
Declaration
public ARKitBlendShapeLocation blendShapeLocation { get; }
Property Value
Type | Description |
---|---|
ARKit |
Identifies the action unit for this coefficient value. |
coefficient
A value from 0.0 to 1.0 that specifies how active the associated ARKit
Declaration
public float coefficient { get; }
Property Value
Type | Description |
---|---|
float | A coefficient of zero represents a neutral position of this blend shape, while a coefficient of one represents a fully articulated position. |
Methods
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The |
Returns
Type | Description |
---|---|
bool |
|
Overrides
Equals(ARKitBlendShapeCoefficient)
Tests for equality.
Declaration
public bool Equals(ARKitBlendShapeCoefficient other)
Parameters
Type | Name | Description |
---|---|---|
ARKit |
other | The other ARKit |
Returns
Type | Description |
---|---|
bool |
|
GetHashCode()
Generates a hash suitable for use with containers like HashSet
and Dictionary
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code generated from this object's fields. |
Overrides
Operators
operator ==(ARKitBlendShapeCoefficient, ARKitBlendShapeCoefficient)
Tests for equality. Same as Equals(ARKit
Declaration
public static bool operator ==(ARKitBlendShapeCoefficient lhs, ARKitBlendShapeCoefficient rhs)
Parameters
Type | Name | Description |
---|---|---|
ARKit |
lhs | The left-hand side of the comparison. |
ARKit |
rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|
operator !=(ARKitBlendShapeCoefficient, ARKitBlendShapeCoefficient)
Tests for inequality. Same as !
Equals(ARKit
Declaration
public static bool operator !=(ARKitBlendShapeCoefficient lhs, ARKitBlendShapeCoefficient rhs)
Parameters
Type | Name | Description |
---|---|---|
ARKit |
lhs | The left-hand side of the comparison. |
ARKit |
rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|