AnimationAsset.selfLayerName
VariableSpecial layer name that resolves to the SceneObject the AnimationPlayer is attached to, allowing animations to work regardless of the SceneObject's name.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
Since Lens Scripting v362
constselfLayerName:string
Special layer name that resolves to the SceneObject the AnimationPlayer is attached to, allowing animations to work regardless of the SceneObject's name.