csc.layers.Cycle¶
- class csc.layers.Cycle¶
Cycle class. Represents a cycle within the layer structure, containing information about active and inactive frames.
- __init__(*args, **kwargs)¶
Methods
__init__(*args, **kwargs)is_the_same_frames_as(self, other_cycle)Checks if the current cycle has the same frames as another cycle.
left_frame_index(self)Retrieves the index of the left frame in the cycle.
right_frame_index(self)Retrieves the index of the right frame in the cycle.
Attributes
- __annotations__ = {}¶
- __init__(*args, **kwargs)¶
- __module__ = 'csc.layers'¶
- property first_active_frame_index¶
- property following_interval¶
- is_the_same_frames_as(self: csc.layers.Cycle, other_cycle: csc.layers.Cycle) bool¶
Checks if the current cycle has the same frames as another cycle.
- Parameters:
other_cycle (csc.layers.Cycle) – The other cycle to compare with.
- Returns:
True if the cycles have the same frames, False otherwise.
- Return type:
- property last_active_frame_index¶
- left_frame_index(self: csc.layers.Cycle) int¶
Retrieves the index of the left frame in the cycle.
- Returns:
The index of the left frame.
- Return type:
- property left_inactive_frame_index¶
- right_frame_index(self: csc.layers.Cycle) int¶
Retrieves the index of the right frame in the cycle.
- Returns:
The index of the right frame.
- Return type:
- property right_inactive_frame_index¶