SketchUp SDK
|
Describes how the component behaves in the SketchUp rendering scene. More...
#include <component_definition.h>
Public Types | |
enum | SUSnapToBehavior { SUSnapToBehavior_None = 0, SUSnapToBehavior_Any, SUSnapToBehavior_Horizontal, SUSnapToBehavior_Vertical, SUSnapToBehavior_Sloped } |
Describes how the component instance is placed when it is first instantiated in the rendering scene. For example a window component instance should snap to a vertical plane when instantiated in the rendering scene. More... | |
Data Fields | |
enum SUSnapToBehavior | component_snap |
bool | component_cuts_opening |
bool | component_always_face_camera |
bool | component_shadows_face_sun |
Describes how the component behaves in the SketchUp rendering scene.
Describes how the component instance is placed when it is first instantiated in the rendering scene. For example a window component instance should snap to a vertical plane when instantiated in the rendering scene.
Enumerator | |
---|---|
SUSnapToBehavior_None | |
SUSnapToBehavior_Any | |
SUSnapToBehavior_Horizontal | |
SUSnapToBehavior_Vertical | |
SUSnapToBehavior_Sloped |
bool SUComponentBehavior::component_always_face_camera |
Whether the component behaves like a
billboard, where the component always presents a 2D surface perpendicular to the direction of camera.
bool SUComponentBehavior::component_cuts_opening |
Whether the component creates an opening
when placed on a surface, e.g. a window frame component.
bool SUComponentBehavior::component_shadows_face_sun |
Whether the component always casts a
shadow as if it were facing the direction of the sun.
enum SUSnapToBehavior SUComponentBehavior::component_snap |