INNER CODE UNIT · Python
DepthState
BrokenSource/DepthFlow · depthflow/state.py:106
class DepthState(_BaseModel):
height: float = Field(default=0.20)
"""Peak surface height, the parallax intensity"""
steady: float = Field(default=0.05)
"""Focal depth for offsets, the pivot point of the effect"""
sticky: bool = Field(default=True)
"""Make the background stay fixed in place on offsets"""
focus: float = Field(default=0.00)
"""Focal depth where perspective changes makes no effect"""
zoom: float = Field(default=1.00)
"""Camera zoom factor, 0.5 makes a quarter image visible"""
isometric: float = Field(default=0.30)