bloqade.visual.animation.gate_event.GateEvent
← Module overview
class
method
method
source
classGateEvent¶source
bloqade.visual.animation.gate_event.GateEvent
class GateEvent(cls_name: str, kwargs: Dict[str, Any], duration: float)Parameters
| Name | Type | Description |
|---|---|---|
cls_name | str | |
kwargs | Dict[str, Any] | |
duration | float |
Attributes
| Name | Type | Description |
|---|---|---|
cls_name | str | |
kwargs | Dict[str, Any] | |
duration | float |
methodto_json¶source
bloqade.visual.animation.gate_event.GateEvent.to_json
methodfrom_json¶source
bloqade.visual.animation.gate_event.GateEvent.from_json
def from_json(json_dict: Dict[str, Any]) -> GateEventParameters
| Name | Type | Description |
|---|---|---|
json_dict | Dict[str, Any] |
Returns
GateEvent