Go to Google Code Home
Google SketchUp SkpWriter C++ API Documentation (Labs)

Public Member Functions

atlast::sketchup::ISketchUpComponentBehavior Interface Reference

Represents a ComponentBehavior in SketchUp. More...

#include <icomponentbehavior.h>

Inheritance diagram for atlast::sketchup::ISketchUpComponentBehavior:
atlast::sketchup::ISketchUpEntity atlast::sketchup::ISketchUpObject

List of all members.

Public Member Functions

virtual bool Is2D () const =0
 Property as to whether the object is "2D".
virtual void Set2D (bool is2d)=0
 Set the 2D property of this behavior object.
virtual bool CutsOpening () const =0
 Does this object 'cut' an opening?
virtual void SetCutsOpening (bool cuts)=0
 Set the 'cuts' property of this behavior object.
virtual SnapType GetSnapTo () const =0
 Returns the type of face this object will snap to.
virtual void SetSnapTo (SnapType type)=0
 Set the 'SnapTo' property of this behavior object.
virtual bool IsFaceMe () const =0
 Does this object always face the camera?
virtual void SetFaceMe (bool faceme)=0
 Set the 'faceme' property of this behavior object.
virtual bool DoShadowsFaceSun () const =0
 Do this object's shadows always face the sun?
virtual void SetShadowsFaceSun (bool facesun)=0
 Set the 'ShadowsFaceSun' property of this behavior object.

Detailed Description

Represents a ComponentBehavior in SketchUp.


Member Function Documentation

virtual bool atlast::sketchup::ISketchUpComponentBehavior::CutsOpening (  )  const [pure virtual]

Does this object 'cut' an opening?

Return values:
true iff this object cuts.
virtual bool atlast::sketchup::ISketchUpComponentBehavior::DoShadowsFaceSun (  )  const [pure virtual]

Do this object's shadows always face the sun?

Return values:
true iff this object's shadows always faces the sun.
virtual SnapType atlast::sketchup::ISketchUpComponentBehavior::GetSnapTo (  )  const [pure virtual]

Returns the type of face this object will snap to.

Return values:
One of the SnapType enumeration values.
virtual bool atlast::sketchup::ISketchUpComponentBehavior::Is2D (  )  const [pure virtual]

Property as to whether the object is "2D".

Return values:
true iff this is a 2D object.
virtual bool atlast::sketchup::ISketchUpComponentBehavior::IsFaceMe (  )  const [pure virtual]

Does this object always face the camera?

That is, is this a "faceme" object?

Return values:
true iff this object always faces the camera.
virtual void atlast::sketchup::ISketchUpComponentBehavior::Set2D ( bool  is2d  )  [pure virtual]

Set the 2D property of this behavior object.

Parameters:
is2d Whether or not this object should behave as 2D.
virtual void atlast::sketchup::ISketchUpComponentBehavior::SetCutsOpening ( bool  cuts  )  [pure virtual]

Set the 'cuts' property of this behavior object.

Parameters:
cuts Whether or not this object should cut.
virtual void atlast::sketchup::ISketchUpComponentBehavior::SetFaceMe ( bool  faceme  )  [pure virtual]

Set the 'faceme' property of this behavior object.

Parameters:
faceme The value for the FaceMe property.
virtual void atlast::sketchup::ISketchUpComponentBehavior::SetShadowsFaceSun ( bool  facesun  )  [pure virtual]

Set the 'ShadowsFaceSun' property of this behavior object.

Parameters:
facesun The value for the ShadowsFaceSun property.
virtual void atlast::sketchup::ISketchUpComponentBehavior::SetSnapTo ( SnapType  type  )  [pure virtual]

Set the 'SnapTo' property of this behavior object.

Parameters:
type The type of snap behavior for this object.

©2010 Google - Google Home - About Google