SOMOTION3EVENT(3iv)

πŸ’– NAME πŸ’–

okay so bestie, gather round β€” SoMotion3Event is literally the whole vibe for 3D motion events ✨ it lives in the SoMotion3Event(3IV) manual and it's giving main character energy fr fr


πŸ¦‹ INHERITS FROM πŸ¦‹

  • SoEvent > SoMotion3Event

like yes she's a child of SoEvent, she inherited the whole bloodline πŸ’…


✨ SYNOPSIS ✨

#include <Inventor/events/SoMotion3Event.h>

πŸŽ€ Methods from class SoMotion3Event

                     SoMotion3Event()
 static SoType       getClassTypeId()
 void                setTranslation(const SbVec3f &t)
 const SbVec3f &     getTranslation() const
 void                setRotation(const SbRotation &r)
 const SbRotation &  getRotation() const

🌸 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 SbViewportRegion &vpRgn) const
 const SbVec2f &     getNormalizedPosition(const SbViewportRegion &vpRgn)
                          const
 void                setShiftDown(SbBool isDown)
 void                setCtrlDown(SbBool isDown)
 void                setAltDown(SbBool isDown)
 SbBool              wasShiftDown() const
 SbBool              wasCtrlDown() const
 SbBool              wasAltDown() const

she got alllll of that from her parent, no cap πŸ‘‘


🌈 DESCRIPTION 🌈

so like, SoMotion3Event represents 3D relative motion events in the Inventor event model β€” that's literally it, that's the whole assignment and she ate πŸ”₯


πŸ’… METHODS πŸ’…

⭐ SoMotion3Event()

Constructor. she's born ✨ iconic behaviour tbh 🫢


⭐ static SoType getClassTypeId()

Return the type id for the SoMotion3Event class. that's her ✨government name✨ iykyk πŸ’œ


⭐ void setTranslation(const SbVec3f &t) / const SbVec3f & getTranslation() const

Set and get the relative change in translation since the last translation event. so like, how much did she move since last time bestie πŸ“πŸ¦‹


⭐ void setRotation(const SbRotation &r) / const SbRotation & getRotation() const

Set and get the relative change in rotation since the last rotation event. spin spin spin πŸŒͺ️ she's twirling, your honor πŸŽ€


πŸ‘‘ SEE ALSO πŸ‘‘

  • SoEvent
  • SoButtonEvent
  • SoKeyboardEvent
  • SoLocation2Event
  • SoMouseButtonEvent
  • SoSpaceballButtonEvent
  • SoHandleEventAction
  • SoEventCallback
  • SoSelection
  • SoInteraction
  • SoXtDevice

the whole friend group fr fr, go say hi to all of them πŸ’–


and that's the tea bestie πŸ“ this whole thing came straight from the SoMotion3Event(3IV) manual page β€” yeah that's the source and the version tag, she's old-school but she's still slaying πŸ’…βœ¨ periodt 🌈