RotationNode

class RotationNode : SubspaceModifier.Node, SubspaceLayoutModifierNode


Summary

Public constructors

RotationNode(quaternion: Quaternion)

Public functions

open MeasureResult
MeasureScope.measure(
    measurable: Measurable,
    constraints: VolumeConstraints
)

Defines the measurement and layout of the Measurable within the given MeasureScope.

Public properties

Quaternion

Public constructors

RotationNode

Added in 1.0.0-alpha01
RotationNode(quaternion: Quaternion)

Public functions

open fun MeasureScope.measure(
    measurable: Measurable,
    constraints: VolumeConstraints
): MeasureResult

Defines the measurement and layout of the Measurable within the given MeasureScope.

The measurable is subject to the specified VolumeConstraints.

Parameters
measurable: Measurable

the content to be measured.

constraints: VolumeConstraints

the constraints within which the measurement should occur.

Returns
MeasureResult

a MeasureResult encapsulating the size and alignment lines of the measured layout.

Public properties

quaternion

Added in 1.0.0-alpha01
var quaternionQuaternion