public TransformInternalRenderer() : base() { ComponentFoldout.text = "TransformInternal"; AuthoritativeToggle.SetEnabled(false); locationField = new global::Improbable.Gdk.TransformSynchronization.FixedPointVector3Renderer("Location", 0 + 1); ComponentFoldout.Add(locationField); rotationField = new global::Improbable.Gdk.TransformSynchronization.CompressedQuaternionRenderer("Rotation", 0 + 1); ComponentFoldout.Add(rotationField); velocityField = new global::Improbable.Gdk.TransformSynchronization.FixedPointVector3Renderer("Velocity", 0 + 1); ComponentFoldout.Add(velocityField); physicsTickField = new TextField("Physics Tick"); physicsTickField.labelElement.ShiftRightMargin(0); physicsTickField.SetEnabled(false); ComponentFoldout.Add(physicsTickField); ticksPerSecondField = new TextField("Ticks Per Second"); ticksPerSecondField.labelElement.ShiftRightMargin(0); ticksPerSecondField.SetEnabled(false); ComponentFoldout.Add(ticksPerSecondField); InjectComponentIcon("Transform Icon"); }
public PlayerClientRenderer() : base() { ComponentFoldout.text = "PlayerClient"; AuthoritativeToggle.SetEnabled(false); playerIdentityField = new global::Improbable.Restricted.PlayerIdentityRenderer("Player Identity", 0 + 1); ComponentFoldout.Add(playerIdentityField); InjectComponentIcon("d_TextAsset Icon"); }
public PositionRenderer() : base() { ComponentFoldout.text = "Position"; AuthoritativeToggle.SetEnabled(false); coordsField = new global::Improbable.CoordinatesRenderer("Coords"); ComponentFoldout.Add(coordsField); InjectComponentIcon("Transform Icon"); }
public OwningWorkerRenderer() : base() { ComponentFoldout.text = "OwningWorker"; AuthoritativeToggle.SetEnabled(false); workerIdField = new TextField("Worker Id"); workerIdField.SetEnabled(false); ComponentFoldout.Add(workerIdField); InjectComponentIcon("d_TextAsset Icon"); }
public MetadataRenderer() : base() { ComponentFoldout.text = "Metadata"; AuthoritativeToggle.SetEnabled(false); entityTypeField = new TextField("Entity Type"); entityTypeField.SetEnabled(false); ComponentFoldout.Add(entityTypeField); InjectComponentIcon("d_FilterByLabel"); }
public WorkerRenderer() : base() { ComponentFoldout.text = "Worker"; AuthoritativeToggle.SetEnabled(false); workerIdField = new TextField("Worker Id"); workerIdField.SetEnabled(false); ComponentFoldout.Add(workerIdField); workerTypeField = new TextField("Worker Type"); workerTypeField.SetEnabled(false); ComponentFoldout.Add(workerTypeField); connectionField = new global::Improbable.Restricted.ConnectionRenderer("Connection"); ComponentFoldout.Add(connectionField); InjectComponentIcon("d_TextAsset Icon"); }
public InterestRenderer() : base() { ComponentFoldout.text = "Interest"; AuthoritativeToggle.SetEnabled(false); componentInterestField = new PaginatedMapView <TextField, uint, global::Improbable.ComponentInterestRenderer, global::Improbable.ComponentInterest>("Component Interest", () => { var inner = new TextField("Key"); inner.SetEnabled(false); return(inner); }, (data, element) => { element.value = data.ToString(); }, () => { var inner = new global::Improbable.ComponentInterestRenderer("Value"); return(inner); }, (data, element) => { element.Update(data); }); ComponentFoldout.Add(componentInterestField); InjectComponentIcon("d_ViewToolOrbit"); }
public EntityAclRenderer() : base() { ComponentFoldout.text = "EntityAcl"; AuthoritativeToggle.SetEnabled(false); readAclField = new global::Improbable.WorkerRequirementSetRenderer("Read Acl"); ComponentFoldout.Add(readAclField); componentWriteAclField = new PaginatedMapView <TextField, uint, global::Improbable.WorkerRequirementSetRenderer, global::Improbable.WorkerRequirementSet>("Component Write Acl", () => { var inner = new TextField("Key"); inner.SetEnabled(false); return(inner); }, (data, element) => { element.value = data.ToString(); }, () => { var inner = new global::Improbable.WorkerRequirementSetRenderer("Value"); return(inner); }, (data, element) => { element.Update(data); }); ComponentFoldout.Add(componentWriteAclField); InjectComponentIcon("d_TextAsset Icon"); }