Cosmos Journeyer API Documentation - v1.10.1
Preparing search index...
frontend/assets/procedural/grass/grassMaterial
GrassMaterial
Class GrassMaterial
Hierarchy
ShaderMaterial
GrassMaterial
Index
Constructors
constructor
Methods
set
Planet
update
Constructors
constructor
new
GrassMaterial
(
scene
:
Scene
,
noiseTextures
:
NoiseTextures
,
isDepthMaterial
:
boolean
,
)
:
GrassMaterial
Parameters
scene
:
Scene
noiseTextures
:
NoiseTextures
isDepthMaterial
:
boolean
Returns
GrassMaterial
Methods
set
Planet
setPlanet
(
planet
:
TransformNode
)
:
void
Parameters
planet
:
TransformNode
Returns
void
update
update
(
stars
:
readonly
PointLight
[]
,
playerPosition
:
Vector3
,
deltaSeconds
:
number
,
)
:
void
Parameters
stars
:
readonly
PointLight
[]
playerPosition
:
Vector3
deltaSeconds
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
set
Planet
update
Cosmos Journeyer API Documentation - v1.10.1
Loading...