Reactor.RCameraComponent.Rotate C# (CSharp) Méthode

Rotate() public méthode

Rotates the camera. Positive angles specify counter clockwise rotations when looking down the axis of rotation towards the origin.
public Rotate ( float headingDegrees, float pitchDegrees, float rollDegrees ) : void
headingDegrees float Y axis rotation in degrees.
pitchDegrees float X axis rotation in degrees.
rollDegrees float Z axis rotation in degrees.
Résultat void
        public void Rotate(float headingDegrees, float pitchDegrees, float rollDegrees)
        {
            camera.Rotate(headingDegrees, pitchDegrees, rollDegrees);
        }