Super class: SCNConstraintMBS
|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||SceneKit||MBS Mac64bit Plugin||19.1||Yes||No||No||Yes, macOS only||No|
An SCNBillboardConstraint object automatically adjusts a node’s orientation so that its local z-axis always points toward the pointOfView node currently being used to render the scene. For example, you can use a billboard constraint to efficiently render parts of a scene using two-dimensional sprite images instead of three-dimensional geometry—by mapping sprites onto planes affected by a billboard constraint, the sprites maintain their orientation with respect to the viewer. To attach constraints to an SCNNodeMBS object, use its constraints property.
Subclass of the SCNConstraintMBS class.
- property freeAxes as Integer
- method Constructor
- shared method billboardConstraint as SCNBillboardConstraintMBS
- 4 constants
Align an affected node such that its orientation always matches that of the view.
This is the default option for newly created billboard constraints.
Align an affected node such that its x-axis is always parallel to that of the view, leaving it free to rotate otherwise.
Align an affected node such that its y-axis is always parallel to that of the view, leaving it free to rotate otherwise.
Align an affected node such that its z-axis is always perpendicular to the viewing plane, leaving it free to rotate otherwise.
Super class SCNConstraintMBS
- 4 properties
- 2 methods
This class has no sub classes.
The items on this page are in the following plugins: MBS Mac64bit Plugin.
MBS FileMaker blog