Class TransformInterpolationObject
Inheritance
TransformInterpolationObject
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.Netcode.RuntimeTests
Assembly: Unity.Netcode.RuntimeTests.dll
Syntax
public class TransformInterpolationObject : NetworkTransform
Fields
CheckPosition
Declaration
public bool CheckPosition
Field Value
| Type | Description |
|---|---|
| bool |
IsFixed
Declaration
public bool IsFixed
Field Value
| Type | Description |
|---|---|
| bool |
IsMoving
Declaration
public bool IsMoving
Field Value
| Type | Description |
|---|---|
| bool |
MinThreshold
Declaration
public const float MinThreshold = 0.005
Field Value
| Type | Description |
|---|---|
| float |
TestComplete
Declaration
public static bool TestComplete
Field Value
| Type | Description |
|---|---|
| bool |
Methods
OnInitialize(ref NetworkTransformState)
Invoked when first spawned and when ownership changes.
Declaration
protected override void OnInitialize(ref NetworkTransform.NetworkTransformState replicatedState)
Parameters
| Type | Name | Description |
|---|---|---|
| NetworkTransform.NetworkTransformState | replicatedState | the current NetworkTransform.NetworkTransformState after initializing |
Overrides
ReachedTargetLocalSpaceTransitionCount()
Declaration
public bool ReachedTargetLocalSpaceTransitionCount()
Returns
| Type | Description |
|---|---|
| bool |
StartMoving()
Declaration
public void StartMoving()
StopMoving()
Declaration
public void StopMoving()
Update()
This method is called once per frame.
Declaration
protected override void Update()
Overrides
Remarks
If you override this method, be sure that:
- Non-authority always invokes this base class method.