CollectibleParams
strata-game-library/presets / CollectibleParams
Interface: CollectibleParams
Defined in: collectibles/index.ts:12
Collectible Template
What are the knobs for ANY collectible item? Forms: coin, gem, orb, star, heart, key, potion, etc.
Properties
bevelSize
bevelSize:
number
Defined in: collectibles/index.ts:31
Beveled edge
bobAmount
bobAmount:
number
Defined in: collectibles/index.ts:65
Bobbing amplitude
bobSpeed
bobSpeed:
number
Defined in: collectibles/index.ts:67
Bobbing speed
borderThickness
borderThickness:
number
Defined in: collectibles/index.ts:45
Border thickness
emblemType
emblemType:
"none"|"star"|"heart"|"custom"|"skull"|"crown"|"lightning"
Defined in: collectibles/index.ts:41
Emblem type
facetCount
facetCount:
number
Defined in: collectibles/index.ts:29
Number of facets
faceted
faceted:
boolean
Defined in: collectibles/index.ts:27
Faceted like a gem
glow
glow:
number
Defined in: collectibles/index.ts:59
Emissive/glow strength
hasBorder
hasBorder:
boolean
Defined in: collectibles/index.ts:43
Border/rim
hasEmblem
hasEmblem:
boolean
Defined in: collectibles/index.ts:39
Emblem/symbol on face
hasTrail
hasTrail:
boolean
Defined in: collectibles/index.ts:73
Trail effect
hollowCenter
hollowCenter:
boolean
Defined in: collectibles/index.ts:33
Inner cutout (like a ring)
hollowRatio
hollowRatio:
number
Defined in: collectibles/index.ts:35
Hollow size ratio
materialType
materialType:
"metal"|"gem"|"glass"|"plastic"|"organic"|"energy"
Defined in: collectibles/index.ts:51
Material type
metalness
metalness:
number
Defined in: collectibles/index.ts:55
Metalness
notchCount
notchCount:
number
Defined in: collectibles/index.ts:47
Notches around edge
points
points:
number
Defined in: collectibles/index.ts:21
Points (for star shape)
pulseAmount
pulseAmount:
number
Defined in: collectibles/index.ts:69
Pulse/scale animation
rotationSpeed
rotationSpeed:
number
Defined in: collectibles/index.ts:63
Rotation speed
roughness
roughness:
number
Defined in: collectibles/index.ts:53
Roughness
rounding
rounding:
number
Defined in: collectibles/index.ts:23
Corner rounding (0 = sharp, 1 = fully round)
shape
shape:
"hexagon"|"circle"|"sphere"|"star"|"heart"|"diamond"|"custom"
Defined in: collectibles/index.ts:15
Base shape
size
size:
number
Defined in: collectibles/index.ts:17
Overall size
sparkles
sparkles:
boolean
Defined in: collectibles/index.ts:71
Sparkle particles
thickness
thickness:
number
Defined in: collectibles/index.ts:19
Height/thickness
transparency
transparency:
number
Defined in: collectibles/index.ts:57
Transparency (0 = opaque, 1 = transparent)
