8#include "RshPluginScript/RshPluginScriptDefines.h"
9#include "RshPluginScript/SClass/SComp.h"
10#include "RshPluginScriptInterface/Script/ScriptDefine.h"
13namespace rsh::ScriptBinding
36 thisDComp()->Clip(Comp);
38 rsh::Script::ParamIsInvalid<SComp>();
45 thisDComp()->Clip(CompTable);
50 inline ClipAll() { thisDComp()->ClipAll(); }
57 thisDComp()->Unclip(Comp);
59 rsh::Script::ParamIsInvalid<SComp>();
66 thisDComp()->Unclip(CompTable);
99 :
public SObjectStatic
120 static Array
FromClick() {
return SComp::GetFromClick<SClippingBase>(SV_CLIPPING); }
126 static Array
FromName( String Name) {
return SComp::GetFromName<SClippingBase>(Name); }
146 return SComp::GetAll<SClippingBase>(VisCrit);
164RSH_SCOMP_STATIC_Q_DECLARE_METATYPE(
SClipping, _SClippingDummy);
The SClipping class is an abstract class.
Definition: SClipping.h:20
static Array FromName(String Name)
Search all the component with the given name.
Definition: SClipping.h:126
Unclip(SComp Comp)
Unclip a SComp.
Definition: SClipping.h:54
static Array FromClick()
Launches a click interaction to select a SClipping in the scene.
Definition: SClipping.h:120
ClipAll()
Clip all SComp in the current document.
Definition: SClipping.h:50
static Array GetAllActivated(Number VisCrit)
To get all activated SClipping in the document in the current scene.
static String toString()
Get the type of the variable.
static Array All(Number VisCrit)
To get all the SClipping in the document.
Definition: SClipping.h:138
ClipTable(Array< SComp > CompTable)
Clip a table of SComp.
Definition: SClipping.h:43
UnclipAll()
Unclip all SComp in the current document.
Definition: SClipping.h:71
Clip(SComp Comp)
Clip a SComp.
Definition: SClipping.h:33
static Array FromSel()
To get all the selected SClipping.
ActivateInScene(uint iSceneIndex)
Activate the clipping object in a given scene.
DeactivateInScene(uint iSceneIndex)
Deactivate the clipping object in a given scene.
ActivateInAllScenes()
Activate the clipping object in all scenes of its document.
Definition: SClipping.h:79
DeactivateInAllScenes()
Deactivate the clipping object in all scenes of its document.
Definition: SClipping.h:87
String toString()
Get the type of the variable.
UnclipTable(Array< SComp > CompTable)
Unclip a table of SComp.
Definition: SClipping.h:64
The SComp class is an abstract class. Use derived classes SCircle, SCylinder, SCloud,...
Definition: SComp.h:32