You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SetExternalRotation(ExpressionAnimation) wires a caller-supplied Vector3-yielding expression into a composition expression bound to the renderer's root TransformMatrix, so subsequent rotation updates flow on the composition thread without UI-thread involvement.
ClearExternalRotation reverts to DP-driven rotation. RebuildForExternalRotation(Vector3) lets callers refresh the painter sort / mesh bake against a snapshot of the animated value.
Wired Refresh button into both sample apps and documented the new API in docs/usage.md and docs/rendering-pipeline.md.
Copy file name to clipboardExpand all lines: src/Combobulate.Sample.Uwp/MainPage.xaml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,9 @@
36
36
OffContent="Internal (control DPs)"
37
37
Toggled="ExternalRotationToggle_Toggled"
38
38
ToolTipService.ToolTip="When ON, rotation sliders apply a Composition TransformMatrix to the controls' outer Visuals. The controls themselves stay at identity — so the SpriteVisual painter sort never re-runs."/>
39
+
<ButtonContent="Refresh quads"
40
+
Click="RefreshQuads_Click"
41
+
ToolTipService.ToolTip="External-mode helper. Re-runs back-face cull / painter sort (Combobulate) and re-bakes mesh (CombobulateSceneVisual) for the current slider rotation."/>
Copy file name to clipboardExpand all lines: src/Combobulate.Sample.WinUI3/MainWindow.xaml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,9 @@
45
45
OffContent="Internal (control DPs)"
46
46
Toggled="ExternalRotationToggle_Toggled"
47
47
ToolTipService.ToolTip="When ON, rotation sliders apply a Composition TransformMatrix to the controls' outer Visuals. The controls themselves stay at identity — so the SpriteVisual painter sort never re-runs, exposing back-face / paint-order artefacts as the model spins."/>
48
+
<ButtonContent="Refresh quads"
49
+
Click="RefreshQuads_Click"
50
+
ToolTipService.ToolTip="External-mode helper. Re-runs back-face cull / painter sort (Combobulate) and re-bakes mesh (CombobulateSceneVisual) for the current slider rotation."/>
0 commit comments