Sample files overview

Scene view

Scene view

This sample provide look at how to interact with SDFImage through script.

This sample provide look at how to interact with SDFImage through script.

Properties

Script contains same fields as SDF Image has

Untitled

Untitled

SDFImage has recreated all properties that built-in Image has, since it no longer inherits from it. But all public properties named in PascalCase according to .NET standards.

Unique to SDFImage

SDFRendererSettings

Untitled

Untitled

This is all properties related to mesh generation and vertex data. In code you can set them directly with SDFImage.SDFRendererSettings rather than each individually.

How to set sprite (SDFSpriteReference)

Editor view

Editor view

Fields definition

Fields definition

Property setting

Property setting

This how you change sprites at runtime, by settings struct SDFSpriteReference to corresponding property.

Docs with detailed explanation on why this struct exist

Docs with detailed explanation on why this struct exist