Class IGenericDynamicRendererInstanceAggregatorExtensions
- Namespace
- Root
- Assembly
- SPZGameAssembly.dll
public static class IGenericDynamicRendererInstanceAggregatorExtensions
- Inheritance
-
object
IGenericDynamicRendererInstanceAggregatorExtensions
Methods
AddBuildingInstance<TInstanceData>(IGenericDynamicRendererInstanceAggregator<TInstanceData>, GenericInstancedMeshRendererConfig, Matrix4x4, TInstanceData, FrameDrawOptions)
public static void AddBuildingInstance<TInstanceData>(this IGenericDynamicRendererInstanceAggregator<TInstanceData> instanceCollection, GenericInstancedMeshRendererConfig config, Matrix4x4 trs, TInstanceData instanceData, FrameDrawOptions drawOptions) where TInstanceData : struct, IPerInstanceData
Parameters
instanceCollection IGenericDynamicRendererInstanceAggregator<TInstanceData>
config GenericInstancedMeshRendererConfig
trs Matrix4x4
instanceData TInstanceData
drawOptions FrameDrawOptions
Type Parameters
TInstanceData
AddBuildingInstance<TInstanceData>(IGenericDynamicRendererInstanceAggregator<TInstanceData>, GenericInstancedMeshRendererConfig, Matrix4x4, TInstanceData, LODRenderConfig, LODComputationParameters, float)
public static void AddBuildingInstance<TInstanceData>(this IGenericDynamicRendererInstanceAggregator<TInstanceData> instanceCollection, GenericInstancedMeshRendererConfig config, Matrix4x4 trs, TInstanceData instanceData, LODRenderConfig lodConfig, LODComputationParameters lodParams, float cameraDistanceSquared) where TInstanceData : struct, IPerInstanceData
Parameters
instanceCollection IGenericDynamicRendererInstanceAggregator<TInstanceData>
config GenericInstancedMeshRendererConfig
trs Matrix4x4
instanceData TInstanceData
lodConfig LODRenderConfig
lodParams LODComputationParameters
cameraDistanceSquared float
Type Parameters
TInstanceData
AddBuildingInstances<TInstanceData>(IGenericDynamicRendererInstanceAggregator<TInstanceData>, IReadOnlyList<GenericInstancedMeshRendererConfig>, Matrix4x4, TInstanceData, FrameDrawOptions)
public static void AddBuildingInstances<TInstanceData>(this IGenericDynamicRendererInstanceAggregator<TInstanceData> instanceCollection, IReadOnlyList<GenericInstancedMeshRendererConfig> configs, Matrix4x4 trs, TInstanceData instanceData, FrameDrawOptions drawOptions) where TInstanceData : struct, IPerInstanceData
Parameters
instanceCollection IGenericDynamicRendererInstanceAggregator<TInstanceData>
configs IReadOnlyList<GenericInstancedMeshRendererConfig>
trs Matrix4x4
instanceData TInstanceData
drawOptions FrameDrawOptions
Type Parameters
TInstanceData
AddBuildingInstances<TInstanceData>(IGenericDynamicRendererInstanceAggregator<TInstanceData>, IReadOnlyList<GenericInstancedMeshRendererConfig>, Matrix4x4, TInstanceData, LODRenderConfig, LODComputationParameters, float)
public static void AddBuildingInstances<TInstanceData>(this IGenericDynamicRendererInstanceAggregator<TInstanceData> instanceCollection, IReadOnlyList<GenericInstancedMeshRendererConfig> configs, Matrix4x4 trs, TInstanceData instanceData, LODRenderConfig lodConfig, LODComputationParameters lodParams, float cameraDistanceSquared) where TInstanceData : struct, IPerInstanceData
Parameters
instanceCollection IGenericDynamicRendererInstanceAggregator<TInstanceData>
configs IReadOnlyList<GenericInstancedMeshRendererConfig>
trs Matrix4x4
instanceData TInstanceData
lodConfig LODRenderConfig
lodParams LODComputationParameters
cameraDistanceSquared float
Type Parameters
TInstanceData
AddInstance<TInstanceData>(IGenericDynamicRendererInstanceAggregator<TInstanceData>, GenericInstancedMeshRendererConfig, Matrix4x4, TInstanceData, int, int, ShadowToken, GraphicsShaderQuality, float)
public static void AddInstance<TInstanceData>(this IGenericDynamicRendererInstanceAggregator<TInstanceData> instanceCollection, GenericInstancedMeshRendererConfig config, Matrix4x4 trs, TInstanceData instanceData, int meshLod, int materialLod, ShadowToken shadows, GraphicsShaderQuality shaderQuality, float cameraDistanceSquared) where TInstanceData : struct, IPerInstanceData
Parameters
instanceCollection IGenericDynamicRendererInstanceAggregator<TInstanceData>
config GenericInstancedMeshRendererConfig
trs Matrix4x4
instanceData TInstanceData
meshLod int
materialLod int
shadows ShadowToken
shaderQuality GraphicsShaderQuality
cameraDistanceSquared float
Type Parameters
TInstanceData
AddIslandInstance<TInstanceData>(IGenericDynamicRendererInstanceAggregator<TInstanceData>, GenericInstancedMeshRendererConfig, Matrix4x4, TInstanceData, FrameDrawOptions)
public static void AddIslandInstance<TInstanceData>(this IGenericDynamicRendererInstanceAggregator<TInstanceData> instanceCollection, GenericInstancedMeshRendererConfig config, Matrix4x4 trs, TInstanceData instanceData, FrameDrawOptions drawOptions) where TInstanceData : struct, IPerInstanceData
Parameters
instanceCollection IGenericDynamicRendererInstanceAggregator<TInstanceData>
config GenericInstancedMeshRendererConfig
trs Matrix4x4
instanceData TInstanceData
drawOptions FrameDrawOptions
Type Parameters
TInstanceData
AddIslandInstance<TInstanceData>(IGenericDynamicRendererInstanceAggregator<TInstanceData>, GenericInstancedMeshRendererConfig, Matrix4x4, TInstanceData, LODRenderConfig, LODComputationParameters, float)
public static void AddIslandInstance<TInstanceData>(this IGenericDynamicRendererInstanceAggregator<TInstanceData> instanceCollection, GenericInstancedMeshRendererConfig config, Matrix4x4 trs, TInstanceData instanceData, LODRenderConfig lodConfig, LODComputationParameters lodParams, float cameraDistanceSquared) where TInstanceData : struct, IPerInstanceData
Parameters
instanceCollection IGenericDynamicRendererInstanceAggregator<TInstanceData>
config GenericInstancedMeshRendererConfig
trs Matrix4x4
instanceData TInstanceData
lodConfig LODRenderConfig
lodParams LODComputationParameters
cameraDistanceSquared float
Type Parameters
TInstanceData
AddIslandInstances<TInstanceData>(IGenericDynamicRendererInstanceAggregator<TInstanceData>, IReadOnlyList<GenericInstancedMeshRendererConfig>, Matrix4x4, TInstanceData, FrameDrawOptions)
public static void AddIslandInstances<TInstanceData>(this IGenericDynamicRendererInstanceAggregator<TInstanceData> instanceCollection, IReadOnlyList<GenericInstancedMeshRendererConfig> configs, Matrix4x4 trs, TInstanceData instanceData, FrameDrawOptions drawOptions) where TInstanceData : struct, IPerInstanceData
Parameters
instanceCollection IGenericDynamicRendererInstanceAggregator<TInstanceData>
configs IReadOnlyList<GenericInstancedMeshRendererConfig>
trs Matrix4x4
instanceData TInstanceData
drawOptions FrameDrawOptions
Type Parameters
TInstanceData
AddIslandInstances<TInstanceData>(IGenericDynamicRendererInstanceAggregator<TInstanceData>, IReadOnlyList<GenericInstancedMeshRendererConfig>, Matrix4x4, TInstanceData, LODRenderConfig, LODComputationParameters, float)
public static void AddIslandInstances<TInstanceData>(this IGenericDynamicRendererInstanceAggregator<TInstanceData> instanceCollection, IReadOnlyList<GenericInstancedMeshRendererConfig> configs, Matrix4x4 trs, TInstanceData instanceData, LODRenderConfig lodConfig, LODComputationParameters lodParams, float cameraDistanceSquared) where TInstanceData : struct, IPerInstanceData
Parameters
instanceCollection IGenericDynamicRendererInstanceAggregator<TInstanceData>
configs IReadOnlyList<GenericInstancedMeshRendererConfig>
trs Matrix4x4
instanceData TInstanceData
lodConfig LODRenderConfig
lodParams LODComputationParameters
cameraDistanceSquared float
Type Parameters
TInstanceData