remove_scene_3d_lightT_remove_scene_3d_lightRemoveScene3dLightRemoveScene3dLightremove_scene_3d_light (算子)

名称

remove_scene_3d_lightT_remove_scene_3d_lightRemoveScene3dLightRemoveScene3dLightremove_scene_3d_light — 从三维场景中移除光源。

签名

remove_scene_3d_light( : : Scene3D, LightIndex : )

Herror T_remove_scene_3d_light(const Htuple Scene3D, const Htuple LightIndex)

void RemoveScene3dLight(const HTuple& Scene3D, const HTuple& LightIndex)

void HScene3D::RemoveScene3dLight(Hlong LightIndex) const

static void HOperatorSet.RemoveScene3dLight(HTuple scene3D, HTuple lightIndex)

void HScene3D.RemoveScene3dLight(int lightIndex)

def remove_scene_3d_light(scene_3d: HHandle, light_index: int) -> None

描述

remove_scene_3d_lightremove_scene_3d_lightRemoveScene3dLightRemoveScene3dLightRemoveScene3dLightremove_scene_3d_light removes the light LightIndexLightIndexLightIndexLightIndexlightIndexlight_index from the 3D scene Scene3DScene3DScene3DScene3Dscene3Dscene_3d in future versions. Currently only one light source is supported.

执行信息

参数

Scene3DScene3DScene3DScene3Dscene3Dscene_3d (输入控制)  scene_3d HScene3D, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

3D 场景的句柄。

LightIndexLightIndexLightIndexLightIndexlightIndexlight_index (输入控制)  integer HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Light to remove.

结果

remove_scene_3d_lightremove_scene_3d_lightRemoveScene3dLightRemoveScene3dLightRemoveScene3dLightremove_scene_3d_light 在所有参数正确时返回 2 ( H_MSG_TRUE )。如有必要,则抛出异常。

另见

add_scene_3d_lightadd_scene_3d_lightAddScene3dLightAddScene3dLightAddScene3dLightadd_scene_3d_light

模块

三维计量