Timeline Studio API Documentation - v0.26.0
Preparing search index...
features/color-grading/hooks/use-color-grading
useColorGrading
Function useColorGrading
useColorGrading
()
:
{
applyToClip
:
()
=>
void
;
autoCorrect
:
()
=>
void
;
availablePresets
:
ColorGradingPreset
[]
;
dispatch
:
(
action
:
any
)
=>
void
;
hasChanges
:
boolean
;
isActive
:
boolean
;
loadLUT
:
(
file
:
string
)
=>
void
;
loadPreset
:
(
presetId
:
string
)
=>
void
;
resetAll
:
()
=>
void
;
savePreset
:
(
name
:
string
)
=>
void
;
setLUTIntensity
:
(
intensity
:
number
)
=>
void
;
state
:
ColorGradingState
;
toggleLUT
:
(
enabled
:
boolean
)
=>
void
;
togglePreview
:
(
enabled
:
boolean
)
=>
void
;
updateBasicParameter
:
(
parameter
:
keyof
BasicParametersState
,
value
:
number
,
)
=>
void
;
updateColorWheel
:
(
wheelType
:
ColorWheelType
,
value
:
RGBValue
)
=>
void
;
updateCurve
:
(
curveType
:
CurveType
,
points
:
CurvePoint
[]
)
=>
void
;
}
Returns
{
applyToClip
:
()
=>
void
;
autoCorrect
:
()
=>
void
;
availablePresets
:
ColorGradingPreset
[]
;
dispatch
:
(
action
:
any
)
=>
void
;
hasChanges
:
boolean
;
isActive
:
boolean
;
loadLUT
:
(
file
:
string
)
=>
void
;
loadPreset
:
(
presetId
:
string
)
=>
void
;
resetAll
:
()
=>
void
;
savePreset
:
(
name
:
string
)
=>
void
;
setLUTIntensity
:
(
intensity
:
number
)
=>
void
;
state
:
ColorGradingState
;
toggleLUT
:
(
enabled
:
boolean
)
=>
void
;
togglePreview
:
(
enabled
:
boolean
)
=>
void
;
updateBasicParameter
:
(
parameter
:
keyof
BasicParametersState
,
value
:
number
,
)
=>
void
;
updateColorWheel
:
(
wheelType
:
ColorWheelType
,
value
:
RGBValue
)
=>
void
;
updateCurve
:
(
curveType
:
CurveType
,
points
:
CurvePoint
[]
)
=>
void
;
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Timeline Studio API Documentation - v0.26.0
Loading...