entities.MolecularEntity
self) entities.MolecularEntity(
Methods
Name | Description |
---|---|
set_frame | Update the underlying data to correspond to changes in the scene frame. |
set_frame
entities.MolecularEntity.set_frame(frame)
Update the underlying data to correspond to changes in the scene frame.
This method should be implemented by subclasses to update the entity’s data based on the given frame number. This can include updating positions and performing other necessary calculations.
Args: frame (int): The frame number to update the entity’s data to.
Raises: NotImplementedError: If the method is not implemented by a subclass.