ClassesClasses | | Operators

remove_scene_3d_lightremove_scene_3d_lightRemoveScene3dLightRemoveScene3dLight (Operator)

Name

remove_scene_3d_lightremove_scene_3d_lightRemoveScene3dLightRemoveScene3dLight — Remove a light from a 3D scene.

Signature

remove_scene_3d_light( : : Scene3D, LightIndex : )

Herror remove_scene_3d_light(const Hlong Scene3D, const Hlong 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)

Description

remove_scene_3d_lightremove_scene_3d_lightRemoveScene3dLightRemoveScene3dLightRemoveScene3dLight removes the light LightIndexLightIndexLightIndexLightIndexlightIndex from the 3D scene Scene3DScene3DScene3DScene3Dscene3D in future versions. Currently only one light source is supported.

Execution Information

Parameters

Scene3DScene3DScene3DScene3Dscene3D (input_control)  scene_3d HScene3D, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the 3D scene.

LightIndexLightIndexLightIndexLightIndexlightIndex (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Light to remove.

Result

remove_scene_3d_lightremove_scene_3d_lightRemoveScene3dLightRemoveScene3dLightRemoveScene3dLight returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.

See also

add_scene_3d_lightadd_scene_3d_lightAddScene3dLightAddScene3dLightAddScene3dLight

Module

3D Metrology


ClassesClasses | | Operators