Platforms to show: All Mac Windows Linux Cross-Platform

Back to CGSTransitionRequestMBS class.

CGSTransitionRequestMBS.Run(duration as single) as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
method CoreGraphics MBS MacCG Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Runs a transition.
Example
dim r as CGSTransitionRequestMBS
dim co as CGSConnectionMBS // global property
dim cw as CGSWindowMBS // global property

co=new CGSConnectionMBS

cw=co.CGSWindow(window1)

r=new CGSTransitionRequestMBS
r.TransitionType=r.CGSCube
r.TransitionOption=r.CGSLeft
r.HasBackGround=false
r.HasBackColor=false
r.Win=cw
call r.run(5)

Lasterror is set.
Transitions seem not to work in Carbon PEF builds. MachO works.

The items on this page are in the following plugins: MBS MacCG Plugin.


The biggest plugin in space...