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 π
SoEventSoButtonEventSoKeyboardEventSoLocation2EventSoMouseButtonEventSoSpaceballButtonEventSoHandleEventActionSoEventCallbackSoSelectionSoInteractionSoXtDevice
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 π
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms