TransitionManager
Link to transitionmanager
This class was added by a mod with mod-id cinematic_transitions
. 因此,如果要使用此功能,则需要安装此mod。
导入类
Link to 导入类
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport mods.cinematic_transitions.TransitionManager;
Static Methods
Link to static-methods
Name: setTransitionHeight
Return Type: void
ZenScript CopyTransitionManager.setTransitionHeight(height as float) as void
参数 | 类型 | 描述 |
---|---|---|
参数 height #实体高度 | 类型 float | 描述 No Description Provided |
Name: setTransitionLength
Return Type: void
ZenScript CopyTransitionManager.setTransitionLength(length as float) as void
参数 | 类型 | 描述 |
---|---|---|
参数 length | 类型 float | 描述 No Description Provided |
Name: setTransitionWaitDuration
Return Type: void
ZenScript CopyTransitionManager.setTransitionWaitDuration(duration as int) as void
参数 | 类型 | 描述 |
---|---|---|
参数 duration | 类型 int | 描述 No Description Provided |