コード例 #1
0
 public GameObjectEntitySplat(List <GameObject> objects, GameObjectGrassInstanceContainer container,
                              int?splatId = null)
 {
     _splatId   = splatId;
     _objects   = objects;
     _container = container;
 }
コード例 #2
0
 public GameObjectGrassSplat(int splatId, GameObjectGrassInstanceContainer container)
 {
     _splatId   = splatId;
     _container = container;
 }
コード例 #3
0
 public RootInstanceContainer(GameObjectGrassInstanceContainer gameObjectContainer,
                              GpuInstancingGrassInstanceContainer gpuInstancingGrassContainer)
 {
     Containers.Add(ContainerType.GameObject, gameObjectContainer);
     Containers.Add(ContainerType.Instancing, gpuInstancingGrassContainer);
 }