All LeafModel composing this model

Usually, there is one LeafModel per material. At each frame, each material is asked to draw all the live LeafModel instaces.

Property definitions

gamnit $ Model :: leaves
	# All `LeafModel` composing this model
	#
	# Usually, there is one `LeafModel` per material.
	# At each frame, each material is asked to draw all the live `LeafModel` instaces.
	fun leaves: Array[LeafModel] is abstract
lib/gamnit/depth/depth_core.nit:111,2--115,41

gamnit $ CompositeModel :: leaves
	redef var leaves = new Array[LeafModel]
lib/gamnit/depth/depth_core.nit:125,2--40

gamnit $ LeafModel :: leaves
	redef var leaves = [self]
lib/gamnit/depth/depth_core.nit:140,2--26

gamnit $ ModelAsset :: leaves
	redef fun leaves
	do
		lazy_load
		return leaves_cache
	end
lib/gamnit/depth/more_models.nit:109,2--113,4