Struct SyncTransform
The synchronizes part of tranform.
同步的變換部份。
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
Namespace: Votanic.vNet.Networking
Assembly: Votanic.vNet.dll
Syntax
[Serializable]
public struct SyncTransform
Fields
local
Send local position is true.
當 true 時傳送自身位置。
Declaration
[Tooltip("Send local position.\n傳送自身位置。")]
public bool local
Field Value
Type | Description |
---|---|
System.Boolean |
position
Sync position.
同步位置。
Declaration
[Tooltip("Sync position.\n同步位置。")]
public SyncPart position
Field Value
Type | Description |
---|---|
SyncPart |
rotation
Sync rotation.
同步角度。
Declaration
[Tooltip("Sync rotation.\n同步角度。")]
public SyncPart rotation
Field Value
Type | Description |
---|---|
SyncPart |
scale
Sync scale.
同步大小。
Declaration
[Tooltip("Sync scale.\n同步大小。")]
public SyncPart scale
Field Value
Type | Description |
---|---|
SyncPart |