SOLOCATION2EVENT(3iv)

✨ SoLocation2Event ✨

okay bestie, welcome to the SoLocation2Event page of the 3IV manual πŸ’– this is the one about 2D location events, and it's genuinely short and sweet, so let's go 🌸


πŸŽ€ NAME πŸŽ€

SoLocation2Event β€” 2D location events πŸ“


🌈 INHERITS FROM 🌈

SoEvent > SoLocation2Event

so like, it's an SoEvent first, and this is the glow-up version of it πŸ‘‘


✨ SYNOPSIS ✨

#include <Inventor/events/SoLocation2Event.h>

πŸ’… Methods from class SoLocation2Event:

                    SoLocation2Event()
static SoType       getClassTypeId()

πŸ¦‹ Methods from class SoEvent:

virtual SoType      getTypeId() const
SbBool              isOfType(SoType type) const
void                setTime(SbTime t)
SbTime              getTime() const
void                setPosition(const SbVec2s &p)
const SbVec2s &     getPosition() const
const SbVec2s &     getPosition(const SoViewportRegion &vpRgn) const
const SbVec2f &     getNormalizedPosition(const SoViewportRegion &vpRgn)
                         const
void                setShiftDown(SbBool isDown)
void                setCtrlDown(SbBool isDown)
void                setAltDown(SbBool isDown)
SbBool              wasShiftDown() const
SbBool              wasCtrlDown() const
SbBool              wasAltDown() const

πŸ’– DESCRIPTION πŸ’–

SoLocation2Event represents 2D location events in the Inventor event model. that's the whole vibe, no cap 🫢 it's literally just the class for "hey bestie, something moved to a location in 2D" πŸ¦‹


🌸 METHODS 🌸

  • SoLocation2Event() β€” the constructor πŸ’… it makes you a brand new one, iconic.
  • static SoType getClassTypeId() β€” returns the type id for the SoLocation2Event class. that's your lil ID card for this class specifically πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

SoEvent, SoButtonEvent, SoKeyboardEvent, SoMotion3Event, SoMouseButtonEvent, SoSpaceballButtonEvent, SoHandleEventAction, SoEventCallback, SoSelection, SoInteraction, SoXtDevice 🌈


and that's the page, bestie!! this was the SoLocation2Event entry from the 3IV manual, and yeah that's literally the whole thing, short queen behavior πŸ’€βœ¨ go forth and handle your location events, ily πŸ«ΆπŸ’œ