예제 #1
0
 public GameObjectEntitySplat(List <GameObject> objects, GameObjectGrassInstanceContainer container,
                              int?splatId = null)
 {
     _splatId   = splatId;
     _objects   = objects;
     _container = container;
 }
 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);
 }