Platforms to show: All Mac Windows Linux Cross-Platform

SCNVector4MBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class SceneKit MBS Mac64bit Plugin 19.1 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
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.

  • 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:

Some examples using this class:

Blog Entries

Release notes

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

SCNVector3MBS   -   SCNViewMBS

The biggest plugin in space...