Method: Set_PositionFromView

Member of Now3D.CN3DLight


Syntax

  Sub Set_PositionFromView ( ByVal DeltaX As Long , ByVal DeltaY As Long , ByVal OldPositionX As Single , ByVal OldPositionY As Single , ByVal OldPositionZ As Single , ByVal MoveZ As Boolean )

Description

  Sets the light position from the perspective viewport

Parameters

  DeltaX
    the X move
  DeltaY
    the Y move
  OldPositionX
    the X coordinate of the Old Position
  OldPositionY
    the Y coordinate of the Old Position
  OldPositionZ
    the Z coordinate of the Old Position
  MoveZ
    To move in the Z axis