📄 ck_activatecamera.ms
字号:
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- Register Active Camera Instruction
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
global instActiveCameraStr = "Active Camera"
global instActiveCameraFct
fn instActiveCameraFct = (
for obj in selection do (
if( (superclassof obj)==camera ) do (
chunkData = " " + CKAttacheScriptOnThisStr + "(\"set_as_active_camera\")"
chunkdata += "\x0d\x0a"
AddCKChunk obj instActiveCameraStr chunkData
updateInstructionsList()
)
)
)
global instActiveCameraRollout
rollout instActiveCameraRollout "Active Camera Options" width:408 height:178 category:1
(
label info_Label "Info: Defines the camera to activate at start" pos:[8,8] width:232 height:16
include "CKInstScripts\\ApplyPreviewButtons.ms"
)
registerInstruction instActiveCameraStr instActiveCameraFct instRollout:instActiveCameraRollout
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -