コード例 #1
0
 public GpuInstancingEntitySplat(SplatInfo splatInfo, List <InstancesPack> GrassPacks,
                                 GpuInstancingGrassInstanceContainer gpuInstancingGrassInstanceContainer, int?splatId = null)
 {
     _splatInfo  = splatInfo;
     _grassPacks = GrassPacks;
     _gpuInstancingGrassInstanceContainer = gpuInstancingGrassInstanceContainer;
     _splatId = splatId;
 }
コード例 #2
0
 public GpuInstancingGrassSplat(SplatInfo splatInfo, int packId, GpuInstancingGrassInstanceContainer gpuInstancingGrassInstanceContainer)
 {
     _splatInfo = splatInfo;
     _packId    = packId;
     _gpuInstancingGrassInstanceContainer = gpuInstancingGrassInstanceContainer;
 }
コード例 #3
0
 public RootInstanceContainer(GameObjectGrassInstanceContainer gameObjectContainer,
                              GpuInstancingGrassInstanceContainer gpuInstancingGrassContainer)
 {
     Containers.Add(ContainerType.GameObject, gameObjectContainer);
     Containers.Add(ContainerType.Instancing, gpuInstancingGrassContainer);
 }