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
Copy file name to clipboardExpand all lines: docs/dictionary/property/layerMode.lcdoc
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Use the layerMode property to specify if an object is static or dynamic. The Liv
40
40
41
41
If you specify the effective keyword, getting the <layerMode> returns how the engine is actually treating the layer, rather than what you requested it to be. There can be a difference for a number of reasons:
42
42
43
-
1) You are not using a compositor (set using <compositorType property>) - effective layerMode is set to 'static'.
43
+
1) You are not using a compositor (set using <compositorType>) - effective layerMode is set to 'static'.
44
44
2) You have a static <layerMode> object with a non-copy/blendSrcOver ink set - effective layerMode is set to 'dynamic'.
45
45
3) You have a scrolling <layerMode> on a non-group or an adorned group - effective layerMode is set to 'dynamic'.
46
46
@@ -56,8 +56,8 @@ Take a platform game as an example. The main character, any animated elements an
56
56
NON-GAME DRAG EXAMPLE
57
57
Consider a drag-drop interface where a user can 'pick' something up and drop it elsewhere. While the object is being dragged across the stack the <layerMode> can be set to 'dynamic' (particularly important if it has graphic effects applied). Once in its final location the <layerMode> can be returned to 'static'
58
58
59
-
>*Warning:* The <layerMode> only has an effect if the <compositorType property> of the stack is not empty.
59
+
>*Warning:* The <layerMode> only has an effect if the <compositorType> of the stack is not empty.
0 commit comments