Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

getStaticAttributeDefault

getStaticAttributeDefault(shape, attr): string

Defined in: packages/sigma/src/rendering/nodes/shapes/instance-registry.ts:28

Static fallback for a shape attribute, for edge clamping on shapes the edge program’s node primitives don’t declare.

Parameters

shape

SDFShape

attr

AttributeSpecification

Returns

string