⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ck_activatecamera.ms

📁 3dmax导出3d模型二次开发插件
💻 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 + -