Skip to content

Function: SpriteStudioPartAnchor() ​

SpriteStudioPartAnchor(__namedParameters): ReactNode

Defined in: packages/react-native-spritestudio/src/view/SpriteStudioPartAnchor.tsx:35

Pins its children to a part: their top-left corner sits on the part's origin and turns about it. Offset the children to attach a different point of them.

The component form of useSsPartTransform, for the case that needs no code of its own.

Parameters ​

__namedParameters ​

SpriteStudioPartAnchorProps

Returns ​

ReactNode