Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

SCNVector4MBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class SceneKit MBS Mac64bit Plugin 19.1 Yes No No Yes, macOS only No
Function: A representation of a four-component vector.
SceneKit uses four-component vectors to represent multiple kinds of data:

  • Axis-angle rotation or torque. The x, y, and z fields contain the normalized x-, y-, and z-components of the rotation axis, and the w field contains the rotation angle, in radians, or torque magnitude, in newton-meters.
  • Color value (or range). The x, y, z, and w fields contain the red, green, blue, and alpha components of the color, or the width of the color variation range in each component.

Feedback, Comments & Corrections

  • 4 properties
    • property w as Double
    • property x as Double
    • property y as Double
    • property z as Double
  • 3 methods
    • method Constructor(x as double = 0.0, y as double = 0.0, z as double = 0.0, w as double = 0.0)
    • method copy as SCNVector4MBS
    • method equals(other as SCNVector4MBS) as boolean
  • 2 shared methods
    • shared method Null as SCNVector4MBS
    • shared method Vector(x as double, y as double, z as double, w as double) as SCNVector4MBS

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Blog Entries

The items on this page are in the following plugins: MBS Mac64bit Plugin.

SCNVector3MBS   -   SCNViewMBS

MBS Xojo Chart Plugins