Translate, rotate and scale
#1
Hi i have just purchased DxEngine. i already had powertoys i have created a viewer with powertoys in VB.NET all was working fine, now i have created a dxviewport i can rotate and move the camera/viewport but when i select the modelmover or rotator the widgets appear but i cannot select them, any idea what i have not done?
Code:
Dim MystandardTransform3D = New StandardTransform3D()


       StandardTransform3D.SetStandardTransform3D(ContentVisual, MystandardTransform3D, updateTransform3D:=True)
       Dim MyvisualEventSource3D = New VisualEventSource3D(ContentVisual)
       AddHandler MyvisualEventSource3D.MouseEnter, AddressOf OnAMMouseEnter
       AddHandler MyvisualEventSource3D.MouseLeave, AddressOf OnAMMouseLeave
       AddHandler MyvisualEventSource3D.MouseDown, AddressOf OnAMMouseDown
       AddHandler MyvisualEventSource3D.MouseUp, AddressOf OnAMMouseUp

       _eventManager3D.RegisterEventSource3D(MyvisualEventSource3D)

       _selectedVisual3D = ContentVisual
       _standardTransform3D = StandardTransform3D.GetStandardTransform3D(ContentVisual)
       TXT_ModelInfo.Text = objectInfo

       AssetLoaded = True
Kevan Hampson
  


Messages In This Thread
Translate, rotate and scale - by GraPhiX - 04-22-2021, 06:31 PM
RE: Translate, rotate and scale - by abenedik - 04-23-2021, 08:16 AM
RE: Translate, rotate and scale - by GraPhiX - 04-23-2021, 11:48 AM
RE: Translate, rotate and scale - by GraPhiX - 04-23-2021, 11:55 AM
RE: Translate, rotate and scale - by GraPhiX - 04-23-2021, 12:06 PM
RE: Translate, rotate and scale - by abenedik - 04-26-2021, 11:44 AM
RE: Translate, rotate and scale - by GraPhiX - 04-26-2021, 12:13 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)