Struct LookAtTarget
Namespace: Samples
Syntax
public struct LookAtTarget : IComponentData, IComponentMixer<LookAtTarget>
Fields
Value
Declaration
public float3 Value
Field Value
| Type | Description |
|---|---|
| Unity.Mathematics.float3 |
Methods
Add(ref LookAtTarget, ref LookAtTarget)
Declaration
public LookAtTarget Add(ref LookAtTarget A, ref LookAtTarget B)
Parameters
| Type | Name | Description |
|---|---|---|
| LookAtTarget | A | |
| LookAtTarget | B |
Returns
| Type | Description |
|---|---|
| LookAtTarget |
Implements
Lerp(ref LookAtTarget, ref LookAtTarget, Single)
Declaration
public LookAtTarget Lerp(ref LookAtTarget A, ref LookAtTarget B, float s)
Parameters
| Type | Name | Description |
|---|---|---|
| LookAtTarget | A | |
| LookAtTarget | B | |
| Single | s |
Returns
| Type | Description |
|---|---|
| LookAtTarget |