MCPcopy
hub / github.com/midrender/revideo / setAbsoluteRotation

Method setAbsoluteRotation

packages/2d/src/lib/components/Node.ts:238–244  ·  view source on GitHub ↗
(value: SignalValue<number>)

Source from the content-addressed store, hash-verified

236 }
237
238 protected setAbsoluteRotation(value: SignalValue<number>) {
239 this.rotation(
240 modify(value, unwrapped =>
241 transformAngle(unwrapped, this.worldToParent()),
242 ),
243 );
244 }
245
246 /**
247 * Represents the scale of this node in local space of its parent.

Callers

nothing calls this directly

Calls 4

worldToParentMethod · 0.95
modifyFunction · 0.90
transformAngleFunction · 0.90
rotationMethod · 0.80

Tested by

no test coverage detected