Class VegetationSystemPro
- Namespace
- AwesomeTechnologies.VegetationSystem
- Assembly
- Assembly-CSharp.dll
[AwesomeTechnologiesScriptOrder(100)]
public class VegetationSystemPro : MonoBehaviour
- Inheritance
-
VegetationSystemPro
- Extension Methods
-
Constructors
VegetationSystemPro()
public VegetationSystemPro()
Fields
AdditionalBoundingSphereRadius
public float AdditionalBoundingSphereRadius
Field Value
- float
AutomaticBoundsCalculation
public bool AutomaticBoundsCalculation
Field Value
- bool
BillboardCellFactory
public VegetationCellFactory BillboardCellFactory
Field Value
- VegetationCellFactory
BillboardCellList
public readonly List<VegetationCell> BillboardCellList
Field Value
- List<VegetationCell>
BillboardCellQuadTree
public QuadTree<VegetationCell> BillboardCellQuadTree
Field Value
- QuadTree<VegetationCell>
BillboardCellSizeMultiplier
public int BillboardCellSizeMultiplier
Field Value
- int
BillboardMergeBufferKernelDirectHandle
public int BillboardMergeBufferKernelDirectHandle
Field Value
- int
BillboardMergeBufferShader
public ComputeShader BillboardMergeBufferShader
Field Value
- ComputeShader
BillboardOn
Field Value
- bool
BiomeTextureFlip
public TextureMaskFlip BiomeTextureFlip
Field Value
- TextureMaskFlip
BiomeTextureMask
public Texture2D BiomeTextureMask
Field Value
- Texture2D
BiomeTextureMaskAChannelType
public BiomeType BiomeTextureMaskAChannelType
Field Value
- BiomeType
BiomeTextureMaskBChannelType
public BiomeType BiomeTextureMaskBChannelType
Field Value
- BiomeType
BiomeTextureMaskGChannelType
public BiomeType BiomeTextureMaskGChannelType
Field Value
- BiomeType
BiomeTextureMaskRChannelType
public BiomeType BiomeTextureMaskRChannelType
Field Value
- BiomeType
BiomeTextureOffset
public Vector2 BiomeTextureOffset
Field Value
- Vector2
BiomeTextureRotation
public TextureMaskRotation BiomeTextureRotation
Field Value
- TextureMaskRotation
CalculateSpawnThreadCountHandle
public int CalculateSpawnThreadCountHandle
Field Value
- int
CompactMemoryHandle
public int CompactMemoryHandle
Field Value
- int
ComputeFrustumCullingThreadCountKernelHandle
public int ComputeFrustumCullingThreadCountKernelHandle
Field Value
- int
CreateInstancesKernelHandle
public int CreateInstancesKernelHandle
Field Value
- int
CreatePersistantInstancesHandle
public int CreatePersistantInstancesHandle
Field Value
- int
CurrentTabIndex
public int CurrentTabIndex
Field Value
- int
DebugTextureMask
public TextureMask DebugTextureMask
Field Value
- TextureMask
DependencyRulesKernelHandle
public int DependencyRulesKernelHandle
Field Value
- int
EnvironmentSettings
public EnvironmentSettings EnvironmentSettings
Field Value
- EnvironmentSettings
ExcludeSeaLevelCells
public bool ExcludeSeaLevelCells
Field Value
- bool
FirstRect
Field Value
- Rect
FloatingOriginAnchor
public Transform FloatingOriginAnchor
Field Value
- Transform
FloatingOriginOffset
public Vector3 FloatingOriginOffset
Field Value
- Vector3
FloatingOriginStartPosition
public Vector3 FloatingOriginStartPosition
Field Value
- Vector3
FrustumKernelHandle
public int FrustumKernelHandle
Field Value
- int
FrusumMatrixShader
public ComputeShader FrusumMatrixShader
Field Value
- ComputeShader
HeroCellFactory
public VegetationCellFactory HeroCellFactory
Field Value
- VegetationCellFactory
HeroCellList
public readonly List<VegetationCell> HeroCellList
Field Value
- List<VegetationCell>
HeroCellQuadTree
public QuadTree<VegetationCell> HeroCellQuadTree
Field Value
- QuadTree<VegetationCell>
HeroCellSizeMultiplier
public int HeroCellSizeMultiplier
Field Value
- int
InitDone
Field Value
- bool
InitialRect
Field Value
- Rect
InjectDependentInstancesCircleHandle
public int InjectDependentInstancesCircleHandle
Field Value
- int
InstancedOn
Field Value
- bool
LastRect
Field Value
- Rect
LoadPotentialVegetationCells
public bool LoadPotentialVegetationCells
Field Value
- bool
LoadedBillboardCellList
public readonly List<VegetationCell> LoadedBillboardCellList
Field Value
- List<VegetationCell>
LoadedHeroCellList
public readonly List<VegetationCell> LoadedHeroCellList
Field Value
- List<VegetationCell>
LoadedVegetationCellList
public readonly List<VegetationCell> LoadedVegetationCellList
Field Value
- List<VegetationCell>
MicroSplatMaterial
public Material MicroSplatMaterial
Field Value
- Material
OnAddCameraDelegate
public VegetationSystemPro.MultiOnAddCameraDelegate OnAddCameraDelegate
Field Value
- VegetationSystemPro.MultiOnAddCameraDelegate
OnClearCacheDelegate
public VegetationSystemPro.MultiOnClearCacheDelegate OnClearCacheDelegate
Field Value
- VegetationSystemPro.MultiOnClearCacheDelegate
OnClearCacheVegetationCellDelegate
public VegetationSystemPro.MultiOnClearCacheVegetationCellDelegate OnClearCacheVegetationCellDelegate
Field Value
- VegetationSystemPro.MultiOnClearCacheVegetationCellDelegate
OnClearCacheVegetationCellVegetatonItemDelegate
public VegetationSystemPro.MultiOnClearCacheVegetationCellVegetationItemDelegate OnClearCacheVegetationCellVegetatonItemDelegate
Field Value
- VegetationSystemPro.MultiOnClearCacheVegetationCellVegetationItemDelegate
OnClearCacheVegetationItemDelegate
public VegetationSystemPro.MultiOnClearCacheVegetationItemDelegate OnClearCacheVegetationItemDelegate
Field Value
- VegetationSystemPro.MultiOnClearCacheVegetationItemDelegate
OnRefreshColliderSystemDelegate
public VegetationSystemPro.MultiOnVegetationStudioRefreshDelegate OnRefreshColliderSystemDelegate
Field Value
- VegetationSystemPro.MultiOnVegetationStudioRefreshDelegate
OnRefreshVegetationSystemDelegate
public VegetationSystemPro.MultiOnVegetationStudioRefreshDelegate OnRefreshVegetationSystemDelegate
Field Value
- VegetationSystemPro.MultiOnVegetationStudioRefreshDelegate
OnRemoveCameraDelegate
public VegetationSystemPro.MultiOnRemoveCameraDelegate OnRemoveCameraDelegate
Field Value
- VegetationSystemPro.MultiOnRemoveCameraDelegate
OnRenderCompleteDelegate
public VegetationSystemPro.MultOnRenderCompleteDelegate OnRenderCompleteDelegate
Field Value
- VegetationSystemPro.MultOnRenderCompleteDelegate
OnVegetationCellLoaded
public VegetationSystemPro.MultiOnVegetationCellSpawnedDelegate OnVegetationCellLoaded
Field Value
- VegetationSystemPro.MultiOnVegetationCellSpawnedDelegate
PQS
Field Value
- PQS
PQSToWorldMtxId
public static readonly int PQSToWorldMtxId
Field Value
- int
PersistentVegetationStorage
public PersistentVegetationStorage PersistentVegetationStorage
Field Value
- PersistentVegetationStorage
PolarCellOffset
public Vector2 PolarCellOffset
Field Value
- Vector2
PolarSphereInitialPosition
public Vector3 PolarSphereInitialPosition
Field Value
- Vector3
PolarSphereMaxHeight
public float PolarSphereMaxHeight
Field Value
- float
PolarSphereRadius
public float PolarSphereRadius
Field Value
- float
public Transform PolarSphereTransform
Field Value
- Transform
PredictiveCellLoader
public PredictiveCellLoader PredictiveCellLoader
Field Value
- PredictiveCellLoader
PredictiveCellLoaderCellsPerFrame
public int PredictiveCellLoaderCellsPerFrame
Field Value
- int
PredictiveCellLoaderList
public readonly List<VegetationCell> PredictiveCellLoaderList
Field Value
- List<VegetationCell>
ReadBackInstanceCount
public bool ReadBackInstanceCount
Field Value
- bool
SeaLevel
Field Value
- float
SelectedTextureMaskGroupIndex
public int SelectedTextureMaskGroupIndex
Field Value
- int
SelectedTextureMaskGroupTextureIndex
public int SelectedTextureMaskGroupTextureIndex
Field Value
- int
SelectedWindZone
public WindZone SelectedWindZone
Field Value
- WindZone
public bool ShowAddVegetationItemMenu
Field Value
- bool
ShowBillboardCells
public bool ShowBillboardCells
Field Value
- bool
public bool ShowBillboardsMenu
Field Value
- bool
ShowBiomeCells
public bool ShowBiomeCells
Field Value
- bool
public bool ShowBiomeRulesMenu
Field Value
- bool
ShowBoundingSpheres
public bool ShowBoundingSpheres
Field Value
- bool
public bool ShowColliderRulesMenu
Field Value
- bool
public bool ShowConcaveLocationRulesMenu
Field Value
- bool
public bool ShowDependencyRulesMenu
Field Value
- bool
public bool ShowDistanceFalloffMenu
Field Value
- bool
ShowHeatMap
Field Value
- bool
ShowHeroCells
public bool ShowHeroCells
Field Value
- bool
ShowItemSpecificProfileMarkers
public bool ShowItemSpecificProfileMarkers
Field Value
- bool
Field Value
- bool
public bool ShowPositionMenu
Field Value
- bool
ShowPotentialVisibleCells
public bool ShowPotentialVisibleCells
Field Value
- bool
public bool ShowPqsTextureSettingsMenu
Field Value
- bool
public bool ShowProceduralTextureRulesMenu
Field Value
- bool
public bool ShowShaderSettingsMenu
Field Value
- bool
public bool ShowTerrainSourceSettingsMenu
Field Value
- bool
public bool ShowTerrainTextureRulesMenu
Field Value
- bool
ShowTerrainTextures
public bool ShowTerrainTextures
Field Value
- bool
public bool ShowTextureMaskRulesMenu
Field Value
- bool
ShowVegetationCells
public bool ShowVegetationCells
Field Value
- bool
public bool ShowVegetationItemSettingsMenu
Field Value
- bool
ShowVegetationMaskCells
public bool ShowVegetationMaskCells
Field Value
- bool
public bool ShowVegetationMaskRulesMenu
Field Value
- bool
public bool ShowVegetationPackageGeneralSettingsMenu
Field Value
- bool
public bool ShowVegetationPackageNoiseMenu
Field Value
- bool
ShowVisibleBillboardCells
public bool ShowVisibleBillboardCells
Field Value
- bool
ShowVisibleCells
public bool ShowVisibleCells
Field Value
- bool
ShowVisibleHeroCells
public bool ShowVisibleHeroCells
Field Value
- bool
SpawnCreateInstancesShader
public ComputeShader SpawnCreateInstancesShader
Field Value
- ComputeShader
SpawnPositionsKernelHandle
public int SpawnPositionsKernelHandle
Field Value
- int
SunDirectionalLight
public Light SunDirectionalLight
Field Value
- Light
TerrainType
public TerrainType TerrainType
Field Value
- TerrainType
TestFloatingOriginOffset
public Vector3 TestFloatingOriginOffset
Field Value
- Vector3
TotalBillboardCount
public int TotalBillboardCount
Field Value
- int
TotalInstanceCount
public int TotalInstanceCount
Field Value
- int
UseBiomeTextureMask
public bool UseBiomeTextureMask
Field Value
- bool
VegetationCellFactory
public VegetationCellFactory VegetationCellFactory
Field Value
- VegetationCellFactory
VegetationCellList
public readonly List<VegetationCell> VegetationCellList
Field Value
- List<VegetationCell>
VegetationCellQuadTree
public QuadTree<VegetationCell> VegetationCellQuadTree
Field Value
- QuadTree<VegetationCell>
VegetationCellSize
public float VegetationCellSize
Field Value
- float
VegetationCellSpawner
public VegetationCellSpawner VegetationCellSpawner
Field Value
- VegetationCellSpawner
VegetationPackageIndex
public int VegetationPackageIndex
Field Value
- int
VegetationPackageProList
public List<VegetationPackagePro> VegetationPackageProList
Field Value
- List<VegetationPackagePro>
public List<VegetationPackageProModelInfo> VegetationPackageProModelsList
Field Value
- List<VegetationPackageProModelInfo>
VegetationRenderSettings
public VegetationRenderSettings VegetationRenderSettings
Field Value
- VegetationRenderSettings
VegetationSettings
public VegetationSettings VegetationSettings
Field Value
- VegetationSettings
VegetationStudioCameraList
public List<VegetationStudioCamera> VegetationStudioCameraList
Field Value
- List<VegetationStudioCamera>
VegetationStudioColliderCameraList
public List<VegetationStudioColliderCamera> VegetationStudioColliderCameraList
Field Value
- List<VegetationStudioColliderCamera>
VegetationStudioTerrainList
public List<IVegetationStudioTerrain> VegetationStudioTerrainList
Field Value
- List<IVegetationStudioTerrain>
VegetationStudioTerrainObjectList
public List<GameObject> VegetationStudioTerrainObjectList
Field Value
- List<GameObject>
VegetationSystemBounds
public Bounds VegetationSystemBounds
Field Value
- Bounds
WindControllerSettingsList
public List<WindControllerSettings> WindControllerSettingsList
Field Value
- List<WindControllerSettings>
WindSpeedFactor
public float WindSpeedFactor
Field Value
- float
_billboardCellInstanceCountID
public int _billboardCellInstanceCountID
Field Value
- int
_suspendVegetationSystem
public bool _suspendVegetationSystem
Field Value
- bool
kspCameraCached
public Camera kspCameraCached
Field Value
- Camera
Properties
VegetationSystemPosition
public Vector3 VegetationSystemPosition { get; }
Property Value
- Vector3
Methods
AdapterAddCamera(Camera)
public void AdapterAddCamera(Camera cam)
Parameters
cam Camera
AddAllMeshTerrains()
public void AddAllMeshTerrains()
AddAllRaycastTerrains()
public void AddAllRaycastTerrains()
AddAllUnityTerrains()
public void AddAllUnityTerrains()
AddCamera(Camera, bool, bool, bool)
public void AddCamera(Camera aCamera, bool noFrustumCulling = false, bool renderDirectToCamera = false, bool renderBillboardsOnly = false)
Parameters
aCamera Camera
noFrustumCulling bool
renderDirectToCamera bool
renderBillboardsOnly bool
public void AddCamera(Transform targetTransform)
Parameters
targetTransform Transform
public void AddColliderCamera(Transform targetTransform)
Parameters
targetTransform Transform
AddTerrain(GameObject)
public void AddTerrain(GameObject go)
Parameters
go GameObject
AddTerrains(List<GameObject>)
public void AddTerrains(List<GameObject> terrainList)
Parameters
terrainList List<GameObject>
AddVegetationCellReadbackRequest(VegetationCellReadbackRequest)
public void AddVegetationCellReadbackRequest(VegetationCellReadbackRequest vegetationCellReadbackRequest)
Parameters
vegetationCellReadbackRequest VegetationCellReadbackRequest
AddVegetationPackage(VegetationPackagePro)
public void AddVegetationPackage(VegetationPackagePro vegetationPackagePro)
Parameters
vegetationPackagePro VegetationPackagePro
CalculateVegetationSystemBounds()
public void CalculateVegetationSystemBounds()
ClearCache()
ClearCache(VegetationCell)
public void ClearCache(VegetationCell vegetationCell)
Parameters
vegetationCell VegetationCell
ClearCache(VegetationCell, int, int)
public void ClearCache(VegetationCell vegetationCell, int vegetationPackageIndex, int vegetationItemIndex)
Parameters
vegetationCell VegetationCell
vegetationPackageIndex int
vegetationItemIndex int
ClearCache(VegetationCell, string)
public void ClearCache(VegetationCell vegetationCell, string vegetationItemID)
Parameters
vegetationCell VegetationCell
vegetationItemID string
ClearCache(int, int)
public void ClearCache(int vegetationPackageIndex, int vegetationItemIndex)
Parameters
vegetationPackageIndex int
vegetationItemIndex int
ClearCache(string)
public void ClearCache(string vegetationItemID)
Parameters
vegetationItemID string
ClearCache(Bounds)
public void ClearCache(Bounds bounds)
Parameters
bounds Bounds
CompleteCellLoading()
public void CompleteCellLoading()
CreateCellFactory()
public void CreateCellFactory()
DebugShowGPUMemoryUsage()
public void DebugShowGPUMemoryUsage()
DetectPersistentVegetationStorage()
public void DetectPersistentVegetationStorage()
DisposeAllVegetationCells()
public void DisposeAllVegetationCells()
DisposeVegetationStudioCameras()
public void DisposeVegetationStudioCameras()
GetAdditionalBiomeList()
public List<BiomeType> GetAdditionalBiomeList()
Returns
- List<BiomeType>
GetBillboardCellSize()
public float GetBillboardCellSize()
Returns
- float
GetBiomeSortOrder(BiomeType)
public int GetBiomeSortOrder(BiomeType biomeType)
Parameters
biomeType BiomeType
Returns
- int
GetFloatingOriginAnchor()
public Transform GetFloatingOriginAnchor()
Returns
- Transform
GetHeroCellSize()
public float GetHeroCellSize()
Returns
- float
GetMaxVegetationPackageItemCount()
public int GetMaxVegetationPackageItemCount()
Returns
- int
GetOverlappingBillboardCell(VegetationCell)
public VegetationCell GetOverlappingBillboardCell(VegetationCell vegetationCell)
Parameters
vegetationCell VegetationCell
Returns
- VegetationCell
GetOverlappingHeroCell(VegetationCell)
public VegetationCell GetOverlappingHeroCell(VegetationCell vegetationCell)
Parameters
vegetationCell VegetationCell
Returns
- VegetationCell
GetQualityManager()
public QualityManager GetQualityManager()
Returns
- QualityManager
GetSceneViewVegetationStudioCamera()
public VegetationStudioCamera GetSceneViewVegetationStudioCamera()
Returns
- VegetationStudioCamera
GetVegetationCellSize()
public float GetVegetationCellSize()
Returns
- float
GetVegetationItemIndexes(string)
public VegetationItemIndexes GetVegetationItemIndexes(string vegetationItemID)
Parameters
vegetationItemID string
Returns
- VegetationItemIndexes
GetVegetationItemInfo(string)
public VegetationItemInfoPro GetVegetationItemInfo(string vegetationItemID)
Parameters
vegetationItemID string
Returns
- VegetationItemInfoPro
GetVegetationItemInstances(VegetationCell, string)
public NativeList<ScatterInstance> GetVegetationItemInstances(VegetationCell vegetationCell, string vegetationItemID)
Parameters
vegetationCell VegetationCell
vegetationItemID string
Returns
- NativeList<ScatterInstance>
GetVegetationItemModelInfo(int, int)
public VegetationItemModelInfo GetVegetationItemModelInfo(int vegetationPackageIndex, int vegetationItemIndex)
Parameters
vegetationPackageIndex int
vegetationItemIndex int
Returns
- VegetationItemModelInfo
GetVegetationItemModelInfo(string)
public VegetationItemModelInfo GetVegetationItemModelInfo(string vegetationItemID)
Parameters
vegetationItemID string
Returns
- VegetationItemModelInfo
GetVegetationPackageFromBiome(BiomeType)
public VegetationPackagePro GetVegetationPackageFromBiome(BiomeType biomeType)
Parameters
biomeType BiomeType
Returns
- VegetationPackagePro
GetVegetationStudioCamera(Camera)
public VegetationStudioCamera GetVegetationStudioCamera(Camera aCamera)
Parameters
aCamera Camera
Returns
- VegetationStudioCamera
public VegetationStudioCamera GetVegetationStudioCamera(Transform targetTransform)
Parameters
targetTransform Transform
Returns
- VegetationStudioCamera
HasColliderOrRuntimePrefab(int, int)
public bool HasColliderOrRuntimePrefab(int vegetationPackageIndex, int vegetationItemIndex)
Parameters
vegetationPackageIndex int
vegetationItemIndex int
Returns
- bool
OnDemandClearVegetationCells()
public void OnDemandClearVegetationCells()
OnDemandCreateBillboardCells(Rect, List<VegetationCell>)
public void OnDemandCreateBillboardCells(Rect rect, List<VegetationCell> overlapBillboardCellList)
Parameters
rect Rect
overlapBillboardCellList List<VegetationCell>
OnDemandCreateHeroCells(Rect, List<VegetationCell>)
public void OnDemandCreateHeroCells(Rect rect, List<VegetationCell> overlapHeroCellList)
Parameters
rect Rect
overlapHeroCellList List<VegetationCell>
OnDemandCreateVegetationCells(Rect)
public void OnDemandCreateVegetationCells(Rect rect)
Parameters
rect Rect
OnDemandCreateVegetationCells(Rect, List<VegetationCell>)
public void OnDemandCreateVegetationCells(Rect rect, List<VegetationCell> overlapVegetationCellList)
Parameters
rect Rect
overlapVegetationCellList List<VegetationCell>
OnEnabledSettingChanged(Setting)
public void OnEnabledSettingChanged(Setting setting)
Parameters
setting Setting
PreloadAllVegetationCells()
public void PreloadAllVegetationCells()
PreloadArea(Rect)
public void PreloadArea(Rect rect)
Parameters
rect Rect
PreloadArea(Rect, List<VegetationCell>)
public void PreloadArea(Rect rect, List<VegetationCell> overlapVegetationCellList)
Parameters
rect Rect
overlapVegetationCellList List<VegetationCell>
ProcessReadbackRequests()
public void ProcessReadbackRequests()
RefreshAllPrefabs()
public void RefreshAllPrefabs()
RefreshColliderSystem()
public void RefreshColliderSystem()
RefreshMaterials()
public void RefreshMaterials()
RefreshTerrainArea()
public void RefreshTerrainArea()
RefreshTerrainArea(Bounds)
public void RefreshTerrainArea(Bounds bounds)
Parameters
bounds Bounds
RefreshTerrainHeightmap()
public void RefreshTerrainHeightmap()
RefreshVegetationSystem()
public void RefreshVegetationSystem()
RemoveAllTerrains()
public void RemoveAllTerrains()
RemoveCamera(Camera)
public void RemoveCamera(Camera aCamera)
Parameters
aCamera Camera
RemoveColliderCamera(VegetationStudioColliderCamera)
public void RemoveColliderCamera(VegetationStudioColliderCamera colliderCamera)
Parameters
colliderCamera VegetationStudioColliderCamera
public void RemoveColliderCamera(Transform targetTransform)
Parameters
targetTransform Transform
RemoveTerrain(GameObject)
public void RemoveTerrain(GameObject go)
Parameters
go GameObject
RemoveVegetationPackage(VegetationPackagePro)
public void RemoveVegetationPackage(VegetationPackagePro vegetationPackagePro)
Parameters
vegetationPackagePro VegetationPackagePro
RemoveVegetationStudioCameraDelegates()
public void RemoveVegetationStudioCameraDelegates()
RenderBillboardCellsInstancedIndirect()
public void RenderBillboardCellsInstancedIndirect()
SetAllVegetationPackagesDirty()
public void SetAllVegetationPackagesDirty()
SetVegetationStudioCamerasDirty()
public void SetVegetationStudioCamerasDirty()
SetupColliderCameras()
public void SetupColliderCameras()
SetupVegetationItemModels()
public void SetupVegetationItemModels()
SetupVegetationItemModelsPerCameraBuffers()
public void SetupVegetationItemModelsPerCameraBuffers()
SubmitForDelayedSpawning(VegetationCell)
public void SubmitForDelayedSpawning(VegetationCell cell)
Parameters
cell VegetationCell
SuspendVegetationSystem(bool)
public void SuspendVegetationSystem(bool value)
Parameters
value bool
UpdateBillboardCulling()
public void UpdateBillboardCulling()
UpdateWind()
UpdateWindSettings()
public void UpdateWindSettings()
VegetationTypeToVegetationCellType(VegetationType)
public static VegetationCellType VegetationTypeToVegetationCellType(VegetationType type)
Parameters
type VegetationType
Returns
- VegetationCellType
VerifySplatmapAccess()
public void VerifySplatmapAccess()
VerifyVegetationStudioTerrains()
public void VerifyVegetationStudioTerrains()