FluxSpawnedObject
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
csharp
public readonly struct FluxSpawnedObjectNamespace NodeWorld.SDK.Client.Flux.
A copy of a network template that lives in the room (FL# Networking.Instantiate), as the server told it.
Fields
NetworkId
csharp
public readonly string NetworkIdIts network id, unique in the room; its objects' ids start with it ("~3", "~3/0"...).
TemplateId
csharp
public readonly string TemplateIdThe id of its network template (NetworkTemplate component).
SpawnerId
csharp
public readonly uint SpawnerIdThe player who spawned it, 0 for the server's scripts.
RequestId
csharp
public readonly uint RequestIdThe spawner's request id (Spawn), so that the spawner finds its own copy.
OwnerId
csharp
public readonly uint OwnerIdIts owner now.
Position
csharp
public readonly Vector3 PositionWhere it stands (where it was spawned, or its last synced transform).
Rotation
csharp
public readonly Quaternion RotationIts rotation.
Constructors
FluxSpawnedObject
csharp
public FluxSpawnedObject(string networkId, string templateId, uint spawnerId, uint requestId, uint ownerId, Vector3 position, Quaternion rotation)A copy as the server told it.
