Interface: SpriteStudioPartAnchorProps
Defined in: packages/react-native-spritestudio/src/view/SpriteStudioPartAnchor.tsx:9
Properties
children?
optionalchildren?:ReactNode
Defined in: packages/react-native-spritestudio/src/view/SpriteStudioPartAnchor.tsx:25
partName
partName:
string
Defined in: packages/react-native-spritestudio/src/view/SpriteStudioPartAnchor.tsx:11
The part to follow. An unknown name hides the children until it resolves.
player?
optionalplayer?:SpriteStudioPlayer|null
Defined in: packages/react-native-spritestudio/src/view/SpriteStudioPartAnchor.tsx:16
Omitted, the player of the <SpriteStudioView> whose children this is in. Given, it wins — for an anchor laid over a view by hand.
rotation?
optionalrotation?:boolean
Defined in: packages/react-native-spritestudio/src/view/SpriteStudioPartAnchor.tsx:18
Turn with the part. Default true.
scale?
optionalscale?:boolean
Defined in: packages/react-native-spritestudio/src/view/SpriteStudioPartAnchor.tsx:23
Scale with the part. Default false: a follower is placed at the part, not sized by it — a name plate should not breathe with the chest.
style?
Defined in: packages/react-native-spritestudio/src/view/SpriteStudioPartAnchor.tsx:24