M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
|
Inherits NativeObject.
Public Member Functions | |
bool | IsDefaultEditorScene () |
bool | IsMultiplayerScene () |
string | TakePhotoModePicture (bool saveAmbientOcclusionPass, bool savingObjectIdPass, bool saveShadowPass) |
string | GetAllColorGradeNames () |
string | GetAllFilterNames () |
float | GetPhotoModeRoll () |
bool | GetPhotoModeOrbit () |
bool | GetPhotoModeOn () |
void | GetPhotoModeFocus (ref float focus, ref float focusStart, ref float focusEnd, ref float exposure, ref bool vignetteOn) |
int | GetSceneColorGradeIndex () |
int | GetSceneFilterIndex () |
string | GetLoadingStateName () |
bool | IsLoadingFinished () |
void | SetPhotoModeRoll (float roll) |
void | SetPhotoModeOrbit (bool orbit) |
void | SetPhotoModeOn (bool on) |
void | SetPhotoModeFocus (float focusStart, float focusEnd, float focus, float exposure) |
void | SetPhotoModeFov (float verticalFov) |
float | GetPhotoModeFov () |
void | SetPhotoModeVignette (bool vignetteOn) |
void | SetSceneColorGradeIndex (int index) |
int | SetSceneFilterIndex (int index) |
void | SetSceneColorGrade (string textureName) |
void | SetUpgradeLevel (int level) |
void | CreateBurstParticle (int particleId, MatrixFrame frame) |
float[] | GetTerrainHeightData (int nodeXIndex, int nodeYIndex) |
short[] | GetTerrainPhysicsMaterialIndexData (int nodeXIndex, int nodeYIndex) |
void | GetTerrainData (out Vec2i nodeDimension, out float nodeSize, out int layerCount, out int layerVersion) |
void | GetTerrainNodeData (int xIndex, int yIndex, out int vertexCountAlongAxis, out float quadLength, out float minHeight, out float maxHeight) |
PhysicsMaterial | GetTerrainPhysicsMaterialAtLayer (int layerIndex) |
void | SetSceneColorGrade (Scene scene, string textureName) |
float | GetWaterLevel () |
float | GetWaterLevelAtPosition (Vec2 position, bool checkWaterBodyEntities) |
bool | GetPathBetweenAIFaces (UIntPtr startingFace, UIntPtr endingFace, Vec2 startingPosition, Vec2 endingPosition, float agentRadius, NavigationPath path, int[] excludedFaceIds=null) |
bool | GetPathBetweenAIFaces (int startingFace, int endingFace, Vec2 startingPosition, Vec2 endingPosition, float agentRadius, NavigationPath path, int[] excludedFaceIds=null, float extraCostMultiplier=1.0f) |
bool | GetPathDistanceBetweenAIFaces (int startingAiFace, int endingAiFace, Vec2 startingPosition, Vec2 endingPosition, float agentRadius, float distanceLimit, out float distance) |
void | GetNavMeshFaceIndex (ref PathFaceRecord record, Vec2 position, bool checkIfDisabled, bool ignoreHeight=false) |
void | GetNavMeshFaceIndex (ref PathFaceRecord record, Vec3 position, bool checkIfDisabled) |
MetaMesh | CreatePathMesh (string baseEntityName, bool isWaterPath) |
void | SetActiveVisibilityLevels (List< String > levelsToActivate) |
void | SetDoNotWaitForLoadingStatesToRender (bool value) |
void | GetSnowAmountData (byte[] snowData) |
MetaMesh | CreatePathMesh (IList< GameEntity > pathNodes, bool isWaterPath=false) |
GameEntity | GetEntityWithGuid (string guid) |
bool | IsEntityFrameChanged (string containsName) |
This function checks all the game entities whose names contain the given string, and returns if any of their frames has changed or not. | |
void | GetTerrainHeightAndNormal (Vec2 position, out float height, out Vec3 normal) |
int | GetFloraInstanceCount () |
int | GetFloraRendererTextureUsage () |
int | GetTerrainMemoryUsage () |
void | StallLoadingRenderingsUntilFurtherNotice () |
int | GetNavMeshFaceCount () |
void | ResumeLoadingRenderings () |
uint | GetUpgradeLevelMask () |
void | SetUpgradeLevelVisibility (uint mask) |
void | SetUpgradeLevelVisibility (List< string > levels) |
int | GetIdOfNavMeshFace (int faceIndex) |
void | SetClothSimulationState (bool state) |
void | GetNavMeshCenterPosition (int faceIndex, ref Vec3 centerPosition) |
GameEntity | GetFirstEntityWithName (string name) |
GameEntity | GetCampaignEntityWithName (string name) |
void | GetAllEntitiesWithScriptComponent< T > (ref List< GameEntity > entities) |
GameEntity | GetFirstEntityWithScriptComponent< T > () |
uint | GetUpgradeLevelMaskOfLevelName (string levelName) |
string | GetUpgradeLevelNameOfIndex (int index) |
int | GetUpgradeLevelCount () |
float | GetWinterTimeFactor () |
float | GetNavMeshFaceFirstVertexZ (int faceIndex) |
void | SetWinterTimeFactor (float winterTimeFactor) |
void | SetDrynessFactor (float drynessFactor) |
float | GetFog () |
void | SetFog (float fogDensity, ref Vec3 fogColor, float fogFalloff) |
void | SetFogAdvanced (float fogFalloffOffset, float fogFalloffMinFog, float fogFalloffStartDist) |
void | SetFogAmbientColor (ref Vec3 fogAmbientColor) |
void | SetTemperature (float temperature) |
void | SetHumidity (float humidity) |
void | SetDynamicShadowmapCascadesRadiusMultiplier (float multiplier) |
void | SetEnvironmentMultiplier (bool useMultiplier, float multiplier) |
void | SetSkyRotation (float rotation) |
void | SetSkyBrightness (float brightness) |
void | SetForcedSnow (bool value) |
void | SetSunLight (ref Vec3 color, ref Vec3 direction) |
void | SetSunDirection (ref Vec3 direction) |
void | SetSun (ref Vec3 color, float altitude, float angle, float intensity) |
void | SetSunAngleAltitude (float angle, float altitude) |
void | SetSunSize (float size) |
void | SetSunShaftStrength (float strength) |
float | GetRainDensity () |
void | SetRainDensity (float density) |
float | GetSnowDensity () |
void | SetSnowDensity (float density) |
void | AddDecalInstance (Decal decal, string decalSetID, bool deletable) |
void | SetShadow (bool shadowEnabled) |
int | AddPointLight (ref Vec3 position, float radius) |
int | AddDirectionalLight (ref Vec3 position, ref Vec3 direction, float radius) |
void | SetLightPosition (int lightIndex, ref Vec3 position) |
void | SetLightDiffuseColor (int lightIndex, ref Vec3 diffuseColor) |
void | SetLightDirection (int lightIndex, ref Vec3 direction) |
void | SetMieScatterFocus (float strength) |
void | SetMieScatterStrength (float strength) |
void | SetBrightpassThreshold (float threshold) |
void | SetLensDistortion (float amount) |
void | SetHexagonVignetteAlpha (float amount) |
void | SetMinExposure (float minExposure) |
void | SetMaxExposure (float maxExposure) |
void | SetTargetExposure (float targetExposure) |
void | SetMiddleGray (float middleGray) |
void | SetBloomStrength (float bloomStrength) |
void | SetBloomAmount (float bloomAmount) |
void | SetGrainAmount (float grainAmount) |
GameEntity | AddItemEntity (ref MatrixFrame placementFrame, MetaMesh metaMesh) |
void | RemoveEntity (GameEntity entity, int removeReason) |
bool | AttachEntity (GameEntity entity, bool showWarnings=false) |
void | AddEntityWithMesh (Mesh mesh, ref MatrixFrame frame) |
void | AddEntityWithMultiMesh (MetaMesh mesh, ref MatrixFrame frame) |
void | Tick (float dt) |
void | ClearAll () |
void | SetDefaultLighting () |
bool | CalculateEffectiveLighting () |
bool | GetPathDistanceBetweenPositions (ref WorldPosition point0, ref WorldPosition point1, float agentRadius, out float pathDistance) |
bool | IsLineToPointClear (ref WorldPosition position, ref WorldPosition destination, float agentRadius) |
bool | IsLineToPointClear (int startingFace, Vec2 position, Vec2 destination, float agentRadius) |
Vec2 | GetLastPointOnNavigationMeshFromPositionToDestination (int startingFace, Vec2 position, Vec2 destination) |
Vec3 | GetLastPointOnNavigationMeshFromWorldPositionToDestination (ref WorldPosition position, Vec2 destination) |
bool | DoesPathExistBetweenFaces (int firstNavMeshFace, int secondNavMeshFace, bool ignoreDisabled) |
bool | GetHeightAtPoint (Vec2 point, BodyFlags excludeBodyFlags, ref float height) |
Vec3 | GetNormalAt (Vec2 position) |
void | GetEntities (ref List< GameEntity > entities) |
void | GetRootEntities (NativeObjectArray entities) |
int | SelectEntitiesInBoxWithScriptComponent< T > (ref Vec3 boundingBoxMin, ref Vec3 boundingBoxMax, GameEntity[] entitiesOutput, UIntPtr[] entityIds) |
int | SelectEntitiesCollidedWith (ref Ray ray, Intersection[] intersectionsOutput, UIntPtr[] entityIds) |
int | GenerateContactsWithCapsule (ref CapsuleData capsule, BodyFlags exclude_flags, Intersection[] intersectionsOutput) |
void | InvalidateTerrainPhysicsMaterials () |
void | Read (string sceneName) |
void | Read (string sceneName, ref SceneInitializationData initData, string forcedAtmoName="") |
MatrixFrame | ReadAndCalculateInitialCamera () |
void | OptimizeScene (bool optimizeFlora=true, bool optimizeOro=false) |
float | GetTerrainHeight (Vec2 position, bool checkHoles=true) |
void | CheckResources () |
void | ForceLoadResources () |
void | SetDepthOfFieldParameters (float depthOfFieldFocusStart, float depthOfFieldFocusEnd, bool isVignetteOn) |
void | SetDepthOfFieldFocus (float depthOfFieldFocus) |
void | ResetDepthOfFieldParams () |
void | PreloadForRendering () |
void | SetColorGradeBlend (string texture1, string texture2, float alpha) |
float | GetGroundHeightAtPosition (Vec3 position, BodyFlags excludeFlags=BodyFlags.CommonCollisionExcludeFlags) |
float | GetGroundHeightAtPositionMT (Vec3 position, BodyFlags excludeFlags=BodyFlags.CommonCollisionExcludeFlags) |
float | GetGroundHeightAtPosition (Vec3 position, out Vec3 normal, BodyFlags excludeFlags=BodyFlags.CommonCollisionExcludeFlags) |
float | GetGroundHeightAtPositionMT (Vec3 position, out Vec3 normal, BodyFlags excludeFlags=BodyFlags.CommonCollisionExcludeFlags) |
void | PauseSceneSounds () |
void | ResumeSceneSounds () |
void | FinishSceneSounds () |
bool | BoxCastOnlyForCamera (Vec3[] boxPoints, Vec3 centerPoint, bool castSupportRay, Vec3 supportRaycastPoint, Vec3 dir, float distance, out float collisionDistance, out Vec3 closestPoint, out GameEntity collidedEntity, bool preFilter=true, bool postFilter=true, BodyFlags excludedBodyFlags=BodyFlags.CameraCollisionRayCastExludeFlags|BodyFlags.DontCollideWithCamera) |
bool | BoxCast (Vec3 boxMin, Vec3 boxMax, bool castSupportRay, Vec3 supportRaycastPoint, Vec3 dir, float distance, out float collisionDistance, out Vec3 closestPoint, out GameEntity collidedEntity, BodyFlags excludedBodyFlags=BodyFlags.CameraCollisionRayCastExludeFlags) |
bool | RayCastForClosestEntityOrTerrain (Vec3 sourcePoint, Vec3 targetPoint, out float collisionDistance, out Vec3 closestPoint, out GameEntity collidedEntity, float rayThickness=0.01f, BodyFlags excludeBodyFlags=BodyFlags.CommonFocusRayCastExcludeFlags) |
bool | RayCastForClosestEntityOrTerrainMT (Vec3 sourcePoint, Vec3 targetPoint, out float collisionDistance, out Vec3 closestPoint, out GameEntity collidedEntity, float rayThickness=0.01f, BodyFlags excludeBodyFlags=BodyFlags.CommonFocusRayCastExcludeFlags) |
bool | RayCastForClosestEntityOrTerrain (Vec3 sourcePoint, Vec3 targetPoint, out float collisionDistance, out GameEntity collidedEntity, float rayThickness=0.01f, BodyFlags excludeBodyFlags=BodyFlags.CommonFocusRayCastExcludeFlags) |
bool | RayCastForClosestEntityOrTerrainMT (Vec3 sourcePoint, Vec3 targetPoint, out float collisionDistance, out GameEntity collidedEntity, float rayThickness=0.01f, BodyFlags excludeBodyFlags=BodyFlags.CommonFocusRayCastExcludeFlags) |
bool | RayCastForClosestEntityOrTerrain (Vec3 sourcePoint, Vec3 targetPoint, out float collisionDistance, out Vec3 closestPoint, float rayThickness=0.01f, BodyFlags excludeBodyFlags=BodyFlags.CommonFocusRayCastExcludeFlags) |
bool | RayCastForClosestEntityOrTerrainMT (Vec3 sourcePoint, Vec3 targetPoint, out float collisionDistance, out Vec3 closestPoint, float rayThickness=0.01f, BodyFlags excludeBodyFlags=BodyFlags.CommonFocusRayCastExcludeFlags) |
bool | RayCastForClosestEntityOrTerrain (Vec3 sourcePoint, Vec3 targetPoint, out float collisionDistance, float rayThickness=0.01f, BodyFlags excludeBodyFlags=BodyFlags.CommonFocusRayCastExcludeFlags) |
bool | RayCastForClosestEntityOrTerrainMT (Vec3 sourcePoint, Vec3 targetPoint, out float collisionDistance, float rayThickness=0.01f, BodyFlags excludeBodyFlags=BodyFlags.CommonFocusRayCastExcludeFlags) |
void | ImportNavigationMeshPrefab (string navMeshPrefabName, int navMeshGroupShift) |
void | MarkFacesWithIdAsLadder (int faceGroupId, bool isLadder) |
void | SetAbilityOfFacesWithId (int faceGroupId, bool isEnabled) |
void | SwapFaceConnectionsWithID (int hubFaceGroupID, int toBeSeparatedFaceGroupId, int toBeMergedFaceGroupId) |
void | MergeFacesWithId (int faceGroupId0, int faceGroupId1, int newFaceGroupId) |
void | SeparateFacesWithId (int faceGroupId0, int faceGroupId1) |
bool | IsAnyFaceWithId (int faceGroupId) |
bool | GetNavigationMeshForPosition (ref Vec3 position) |
bool | GetNavigationMeshForPosition (ref Vec3 position, out int faceGroupId, float heightDifferenceLimit=NavMeshHeightLimit) |
bool | DoesPathExistBetweenPositions (WorldPosition position, WorldPosition destination) |
void | SetLandscapeRainMaskData (byte[] data) |
void | EnsurePostfxSystem () |
void | SetBloom (bool mode) |
void | SetDofMode (bool mode) |
void | SetOcclusionMode (bool mode) |
void | SetExternalInjectionTexture (Texture texture) |
void | SetSunshaftMode (bool mode) |
Vec3 | GetSunDirection () |
float | GetNorthAngle () |
float | GetNorthRotation () |
Returns north angle as a counter-clock wise rotation in radians. | |
bool | GetTerrainMinMaxHeight (out float minHeight, out float maxHeight) |
void | GetPhysicsMinMax (ref Vec3 min_max) |
bool | IsEditorScene () |
void | SetMotionBlurMode (bool mode) |
void | SetAntialiasingMode (bool mode) |
void | SetDLSSMode (bool mode) |
IEnumerable< GameEntity > | FindEntitiesWithTag (string tag) |
GameEntity | FindEntityWithTag (string tag) |
GameEntity | FindEntityWithName (string name) |
IEnumerable< GameEntity > | FindEntitiesWithTagExpression (string expression) |
int | GetSoftBoundaryVertexCount () |
int | GetHardBoundaryVertexCount () |
Vec2 | GetSoftBoundaryVertex (int index) |
Vec2 | GetHardBoundaryVertex (int index) |
Path | GetPathWithName (string name) |
void | DeletePathWithName (string name) |
void | AddPath (string name) |
void | AddPathPoint (string name, MatrixFrame frame) |
void | GetBoundingBox (out Vec3 min, out Vec3 max) |
void | SetName (string name) |
string | GetName () |
string | GetModulePath () |
void | SetOwnerThread () |
Path[] | GetPathsWithNamePrefix (string prefix) |
void | SetUseConstantTime (bool value) |
bool | CheckPointCanSeePoint (Vec3 source, Vec3 target, float? distanceToCheck=null) |
void | SetPlaySoundEventsAfterReadyToRender (bool value) |
void | DisableStaticShadows (bool value) |
Mesh | GetSkyboxMesh () |
void | SetAtmosphereWithName (string name) |
void | FillEntityWithHardBorderPhysicsBarrier (GameEntity entity) |
void | ClearDecals () |
Static Public Member Functions | |
static Scene | CreateNewScene (bool initialize_physics=true, bool enable_decals=true, DecalAtlasGroup atlasGroup=0, string sceneName="mono_renderscene") |
Static Public Attributes | |
const float | AutoClimbHeight = 1.5f |
const float | NavMeshHeightLimit = 1.5f |
static readonly TWSharedMutex | PhysicsAndRayCastLock = new TWSharedMutex() |
Properties | |
int | RootEntityCount [get] |
bool | HasTerrainHeightmap [get] |
bool | ContainsTerrain [get] |
float | TimeOfDay [get, set] |
bool | IsAtmosphereIndoor [get] |
Vec3 | LastFinalRenderCameraPosition [get] |
MatrixFrame | LastFinalRenderCameraFrame [get] |
float | TimeSpeed [get, set] |
bool TaleWorlds.Engine.Scene.IsDefaultEditorScene | ( | ) |
bool TaleWorlds.Engine.Scene.IsMultiplayerScene | ( | ) |
string TaleWorlds.Engine.Scene.TakePhotoModePicture | ( | bool | saveAmbientOcclusionPass, |
bool | savingObjectIdPass, | ||
bool | saveShadowPass ) |
string TaleWorlds.Engine.Scene.GetAllColorGradeNames | ( | ) |
string TaleWorlds.Engine.Scene.GetAllFilterNames | ( | ) |
float TaleWorlds.Engine.Scene.GetPhotoModeRoll | ( | ) |
bool TaleWorlds.Engine.Scene.GetPhotoModeOrbit | ( | ) |
bool TaleWorlds.Engine.Scene.GetPhotoModeOn | ( | ) |
void TaleWorlds.Engine.Scene.GetPhotoModeFocus | ( | ref float | focus, |
ref float | focusStart, | ||
ref float | focusEnd, | ||
ref float | exposure, | ||
ref bool | vignetteOn ) |
int TaleWorlds.Engine.Scene.GetSceneColorGradeIndex | ( | ) |
int TaleWorlds.Engine.Scene.GetSceneFilterIndex | ( | ) |
string TaleWorlds.Engine.Scene.GetLoadingStateName | ( | ) |
bool TaleWorlds.Engine.Scene.IsLoadingFinished | ( | ) |
void TaleWorlds.Engine.Scene.SetPhotoModeRoll | ( | float | roll | ) |
void TaleWorlds.Engine.Scene.SetPhotoModeOrbit | ( | bool | orbit | ) |
void TaleWorlds.Engine.Scene.SetPhotoModeOn | ( | bool | on | ) |
void TaleWorlds.Engine.Scene.SetPhotoModeFocus | ( | float | focusStart, |
float | focusEnd, | ||
float | focus, | ||
float | exposure ) |
void TaleWorlds.Engine.Scene.SetPhotoModeFov | ( | float | verticalFov | ) |
float TaleWorlds.Engine.Scene.GetPhotoModeFov | ( | ) |
void TaleWorlds.Engine.Scene.SetPhotoModeVignette | ( | bool | vignetteOn | ) |
void TaleWorlds.Engine.Scene.SetSceneColorGradeIndex | ( | int | index | ) |
int TaleWorlds.Engine.Scene.SetSceneFilterIndex | ( | int | index | ) |
void TaleWorlds.Engine.Scene.SetSceneColorGrade | ( | string | textureName | ) |
void TaleWorlds.Engine.Scene.SetUpgradeLevel | ( | int | level | ) |
void TaleWorlds.Engine.Scene.CreateBurstParticle | ( | int | particleId, |
MatrixFrame | frame ) |
float[] TaleWorlds.Engine.Scene.GetTerrainHeightData | ( | int | nodeXIndex, |
int | nodeYIndex ) |
short[] TaleWorlds.Engine.Scene.GetTerrainPhysicsMaterialIndexData | ( | int | nodeXIndex, |
int | nodeYIndex ) |
void TaleWorlds.Engine.Scene.GetTerrainData | ( | out Vec2i | nodeDimension, |
out float | nodeSize, | ||
out int | layerCount, | ||
out int | layerVersion ) |
void TaleWorlds.Engine.Scene.GetTerrainNodeData | ( | int | xIndex, |
int | yIndex, | ||
out int | vertexCountAlongAxis, | ||
out float | quadLength, | ||
out float | minHeight, | ||
out float | maxHeight ) |
PhysicsMaterial TaleWorlds.Engine.Scene.GetTerrainPhysicsMaterialAtLayer | ( | int | layerIndex | ) |
void TaleWorlds.Engine.Scene.SetSceneColorGrade | ( | Scene | scene, |
string | textureName ) |
float TaleWorlds.Engine.Scene.GetWaterLevel | ( | ) |
float TaleWorlds.Engine.Scene.GetWaterLevelAtPosition | ( | Vec2 | position, |
bool | checkWaterBodyEntities ) |
bool TaleWorlds.Engine.Scene.GetPathBetweenAIFaces | ( | UIntPtr | startingFace, |
UIntPtr | endingFace, | ||
Vec2 | startingPosition, | ||
Vec2 | endingPosition, | ||
float | agentRadius, | ||
NavigationPath | path, | ||
int[] | excludedFaceIds = null ) |
bool TaleWorlds.Engine.Scene.GetPathBetweenAIFaces | ( | int | startingFace, |
int | endingFace, | ||
Vec2 | startingPosition, | ||
Vec2 | endingPosition, | ||
float | agentRadius, | ||
NavigationPath | path, | ||
int[] | excludedFaceIds = null, | ||
float | extraCostMultiplier = 1::0f ) |
bool TaleWorlds.Engine.Scene.GetPathDistanceBetweenAIFaces | ( | int | startingAiFace, |
int | endingAiFace, | ||
Vec2 | startingPosition, | ||
Vec2 | endingPosition, | ||
float | agentRadius, | ||
float | distanceLimit, | ||
out float | distance ) |
void TaleWorlds.Engine.Scene.GetNavMeshFaceIndex | ( | ref PathFaceRecord | record, |
Vec2 | position, | ||
bool | checkIfDisabled, | ||
bool | ignoreHeight = false ) |
void TaleWorlds.Engine.Scene.GetNavMeshFaceIndex | ( | ref PathFaceRecord | record, |
Vec3 | position, | ||
bool | checkIfDisabled ) |
|
static |
MetaMesh TaleWorlds.Engine.Scene.CreatePathMesh | ( | string | baseEntityName, |
bool | isWaterPath ) |
void TaleWorlds.Engine.Scene.SetActiveVisibilityLevels | ( | List< String > | levelsToActivate | ) |
void TaleWorlds.Engine.Scene.SetDoNotWaitForLoadingStatesToRender | ( | bool | value | ) |
void TaleWorlds.Engine.Scene.GetSnowAmountData | ( | byte[] | snowData | ) |
MetaMesh TaleWorlds.Engine.Scene.CreatePathMesh | ( | IList< GameEntity > | pathNodes, |
bool | isWaterPath = false ) |
GameEntity TaleWorlds.Engine.Scene.GetEntityWithGuid | ( | string | guid | ) |
bool TaleWorlds.Engine.Scene.IsEntityFrameChanged | ( | string | containsName | ) |
containsName | Only entities whose name contains this string will be checked |
true
if any of the entities' frame has changed; otherwise, false
. void TaleWorlds.Engine.Scene.GetTerrainHeightAndNormal | ( | Vec2 | position, |
out float | height, | ||
out Vec3 | normal ) |
int TaleWorlds.Engine.Scene.GetFloraInstanceCount | ( | ) |
int TaleWorlds.Engine.Scene.GetFloraRendererTextureUsage | ( | ) |
int TaleWorlds.Engine.Scene.GetTerrainMemoryUsage | ( | ) |
void TaleWorlds.Engine.Scene.StallLoadingRenderingsUntilFurtherNotice | ( | ) |
int TaleWorlds.Engine.Scene.GetNavMeshFaceCount | ( | ) |
void TaleWorlds.Engine.Scene.ResumeLoadingRenderings | ( | ) |
uint TaleWorlds.Engine.Scene.GetUpgradeLevelMask | ( | ) |
void TaleWorlds.Engine.Scene.SetUpgradeLevelVisibility | ( | uint | mask | ) |
void TaleWorlds.Engine.Scene.SetUpgradeLevelVisibility | ( | List< string > | levels | ) |
int TaleWorlds.Engine.Scene.GetIdOfNavMeshFace | ( | int | faceIndex | ) |
void TaleWorlds.Engine.Scene.SetClothSimulationState | ( | bool | state | ) |
void TaleWorlds.Engine.Scene.GetNavMeshCenterPosition | ( | int | faceIndex, |
ref Vec3 | centerPosition ) |
GameEntity TaleWorlds.Engine.Scene.GetFirstEntityWithName | ( | string | name | ) |
GameEntity TaleWorlds.Engine.Scene.GetCampaignEntityWithName | ( | string | name | ) |
void TaleWorlds.Engine.Scene.GetAllEntitiesWithScriptComponent< T > | ( | ref List< GameEntity > | entities | ) |
T | : | ScriptComponentBehavior |
GameEntity TaleWorlds.Engine.Scene.GetFirstEntityWithScriptComponent< T > | ( | ) |
T | : | ScriptComponentBehavior |
uint TaleWorlds.Engine.Scene.GetUpgradeLevelMaskOfLevelName | ( | string | levelName | ) |
string TaleWorlds.Engine.Scene.GetUpgradeLevelNameOfIndex | ( | int | index | ) |
int TaleWorlds.Engine.Scene.GetUpgradeLevelCount | ( | ) |
float TaleWorlds.Engine.Scene.GetWinterTimeFactor | ( | ) |
float TaleWorlds.Engine.Scene.GetNavMeshFaceFirstVertexZ | ( | int | faceIndex | ) |
void TaleWorlds.Engine.Scene.SetWinterTimeFactor | ( | float | winterTimeFactor | ) |
void TaleWorlds.Engine.Scene.SetDrynessFactor | ( | float | drynessFactor | ) |
float TaleWorlds.Engine.Scene.GetFog | ( | ) |
void TaleWorlds.Engine.Scene.SetFog | ( | float | fogDensity, |
ref Vec3 | fogColor, | ||
float | fogFalloff ) |
void TaleWorlds.Engine.Scene.SetFogAdvanced | ( | float | fogFalloffOffset, |
float | fogFalloffMinFog, | ||
float | fogFalloffStartDist ) |
void TaleWorlds.Engine.Scene.SetFogAmbientColor | ( | ref Vec3 | fogAmbientColor | ) |
void TaleWorlds.Engine.Scene.SetTemperature | ( | float | temperature | ) |
void TaleWorlds.Engine.Scene.SetHumidity | ( | float | humidity | ) |
void TaleWorlds.Engine.Scene.SetDynamicShadowmapCascadesRadiusMultiplier | ( | float | multiplier | ) |
void TaleWorlds.Engine.Scene.SetEnvironmentMultiplier | ( | bool | useMultiplier, |
float | multiplier ) |
void TaleWorlds.Engine.Scene.SetSkyRotation | ( | float | rotation | ) |
void TaleWorlds.Engine.Scene.SetSkyBrightness | ( | float | brightness | ) |
void TaleWorlds.Engine.Scene.SetForcedSnow | ( | bool | value | ) |
void TaleWorlds.Engine.Scene.SetSunDirection | ( | ref Vec3 | direction | ) |
void TaleWorlds.Engine.Scene.SetSun | ( | ref Vec3 | color, |
float | altitude, | ||
float | angle, | ||
float | intensity ) |
void TaleWorlds.Engine.Scene.SetSunAngleAltitude | ( | float | angle, |
float | altitude ) |
void TaleWorlds.Engine.Scene.SetSunSize | ( | float | size | ) |
void TaleWorlds.Engine.Scene.SetSunShaftStrength | ( | float | strength | ) |
float TaleWorlds.Engine.Scene.GetRainDensity | ( | ) |
void TaleWorlds.Engine.Scene.SetRainDensity | ( | float | density | ) |
float TaleWorlds.Engine.Scene.GetSnowDensity | ( | ) |
void TaleWorlds.Engine.Scene.SetSnowDensity | ( | float | density | ) |
void TaleWorlds.Engine.Scene.AddDecalInstance | ( | Decal | decal, |
string | decalSetID, | ||
bool | deletable ) |
void TaleWorlds.Engine.Scene.SetShadow | ( | bool | shadowEnabled | ) |
int TaleWorlds.Engine.Scene.AddPointLight | ( | ref Vec3 | position, |
float | radius ) |
int TaleWorlds.Engine.Scene.AddDirectionalLight | ( | ref Vec3 | position, |
ref Vec3 | direction, | ||
float | radius ) |
void TaleWorlds.Engine.Scene.SetLightPosition | ( | int | lightIndex, |
ref Vec3 | position ) |
void TaleWorlds.Engine.Scene.SetLightDiffuseColor | ( | int | lightIndex, |
ref Vec3 | diffuseColor ) |
void TaleWorlds.Engine.Scene.SetLightDirection | ( | int | lightIndex, |
ref Vec3 | direction ) |
void TaleWorlds.Engine.Scene.SetMieScatterFocus | ( | float | strength | ) |
void TaleWorlds.Engine.Scene.SetMieScatterStrength | ( | float | strength | ) |
void TaleWorlds.Engine.Scene.SetBrightpassThreshold | ( | float | threshold | ) |
void TaleWorlds.Engine.Scene.SetLensDistortion | ( | float | amount | ) |
void TaleWorlds.Engine.Scene.SetHexagonVignetteAlpha | ( | float | amount | ) |
void TaleWorlds.Engine.Scene.SetMinExposure | ( | float | minExposure | ) |
void TaleWorlds.Engine.Scene.SetMaxExposure | ( | float | maxExposure | ) |
void TaleWorlds.Engine.Scene.SetTargetExposure | ( | float | targetExposure | ) |
void TaleWorlds.Engine.Scene.SetMiddleGray | ( | float | middleGray | ) |
void TaleWorlds.Engine.Scene.SetBloomStrength | ( | float | bloomStrength | ) |
void TaleWorlds.Engine.Scene.SetBloomAmount | ( | float | bloomAmount | ) |
void TaleWorlds.Engine.Scene.SetGrainAmount | ( | float | grainAmount | ) |
GameEntity TaleWorlds.Engine.Scene.AddItemEntity | ( | ref MatrixFrame | placementFrame, |
MetaMesh | metaMesh ) |
void TaleWorlds.Engine.Scene.RemoveEntity | ( | GameEntity | entity, |
int | removeReason ) |
bool TaleWorlds.Engine.Scene.AttachEntity | ( | GameEntity | entity, |
bool | showWarnings = false ) |
void TaleWorlds.Engine.Scene.AddEntityWithMesh | ( | Mesh | mesh, |
ref MatrixFrame | frame ) |
void TaleWorlds.Engine.Scene.AddEntityWithMultiMesh | ( | MetaMesh | mesh, |
ref MatrixFrame | frame ) |
void TaleWorlds.Engine.Scene.Tick | ( | float | dt | ) |
void TaleWorlds.Engine.Scene.ClearAll | ( | ) |
void TaleWorlds.Engine.Scene.SetDefaultLighting | ( | ) |
bool TaleWorlds.Engine.Scene.CalculateEffectiveLighting | ( | ) |
bool TaleWorlds.Engine.Scene.GetPathDistanceBetweenPositions | ( | ref WorldPosition | point0, |
ref WorldPosition | point1, | ||
float | agentRadius, | ||
out float | pathDistance ) |
bool TaleWorlds.Engine.Scene.IsLineToPointClear | ( | ref WorldPosition | position, |
ref WorldPosition | destination, | ||
float | agentRadius ) |
bool TaleWorlds.Engine.Scene.IsLineToPointClear | ( | int | startingFace, |
Vec2 | position, | ||
Vec2 | destination, | ||
float | agentRadius ) |
Vec2 TaleWorlds.Engine.Scene.GetLastPointOnNavigationMeshFromPositionToDestination | ( | int | startingFace, |
Vec2 | position, | ||
Vec2 | destination ) |
Vec3 TaleWorlds.Engine.Scene.GetLastPointOnNavigationMeshFromWorldPositionToDestination | ( | ref WorldPosition | position, |
Vec2 | destination ) |
bool TaleWorlds.Engine.Scene.DoesPathExistBetweenFaces | ( | int | firstNavMeshFace, |
int | secondNavMeshFace, | ||
bool | ignoreDisabled ) |
bool TaleWorlds.Engine.Scene.GetHeightAtPoint | ( | Vec2 | point, |
BodyFlags | excludeBodyFlags, | ||
ref float | height ) |
void TaleWorlds.Engine.Scene.GetEntities | ( | ref List< GameEntity > | entities | ) |
void TaleWorlds.Engine.Scene.GetRootEntities | ( | NativeObjectArray | entities | ) |
int TaleWorlds.Engine.Scene.SelectEntitiesInBoxWithScriptComponent< T > | ( | ref Vec3 | boundingBoxMin, |
ref Vec3 | boundingBoxMax, | ||
GameEntity[] | entitiesOutput, | ||
UIntPtr[] | entityIds ) |
T | : | ScriptComponentBehavior |
int TaleWorlds.Engine.Scene.SelectEntitiesCollidedWith | ( | ref Ray | ray, |
Intersection[] | intersectionsOutput, | ||
UIntPtr[] | entityIds ) |
int TaleWorlds.Engine.Scene.GenerateContactsWithCapsule | ( | ref CapsuleData | capsule, |
BodyFlags | exclude_flags, | ||
Intersection[] | intersectionsOutput ) |
void TaleWorlds.Engine.Scene.InvalidateTerrainPhysicsMaterials | ( | ) |
void TaleWorlds.Engine.Scene.Read | ( | string | sceneName | ) |
void TaleWorlds.Engine.Scene.Read | ( | string | sceneName, |
ref SceneInitializationData | initData, | ||
string | forcedAtmoName = "" ) |
MatrixFrame TaleWorlds.Engine.Scene.ReadAndCalculateInitialCamera | ( | ) |
void TaleWorlds.Engine.Scene.OptimizeScene | ( | bool | optimizeFlora = true, |
bool | optimizeOro = false ) |
float TaleWorlds.Engine.Scene.GetTerrainHeight | ( | Vec2 | position, |
bool | checkHoles = true ) |
void TaleWorlds.Engine.Scene.CheckResources | ( | ) |
void TaleWorlds.Engine.Scene.ForceLoadResources | ( | ) |
void TaleWorlds.Engine.Scene.SetDepthOfFieldParameters | ( | float | depthOfFieldFocusStart, |
float | depthOfFieldFocusEnd, | ||
bool | isVignetteOn ) |
void TaleWorlds.Engine.Scene.SetDepthOfFieldFocus | ( | float | depthOfFieldFocus | ) |
void TaleWorlds.Engine.Scene.ResetDepthOfFieldParams | ( | ) |
void TaleWorlds.Engine.Scene.PreloadForRendering | ( | ) |
void TaleWorlds.Engine.Scene.SetColorGradeBlend | ( | string | texture1, |
string | texture2, | ||
float | alpha ) |
float TaleWorlds.Engine.Scene.GetGroundHeightAtPosition | ( | Vec3 | position, |
BodyFlags | excludeFlags = BodyFlags::CommonCollisionExcludeFlags ) |
float TaleWorlds.Engine.Scene.GetGroundHeightAtPositionMT | ( | Vec3 | position, |
BodyFlags | excludeFlags = BodyFlags::CommonCollisionExcludeFlags ) |
float TaleWorlds.Engine.Scene.GetGroundHeightAtPosition | ( | Vec3 | position, |
out Vec3 | normal, | ||
BodyFlags | excludeFlags = BodyFlags::CommonCollisionExcludeFlags ) |
float TaleWorlds.Engine.Scene.GetGroundHeightAtPositionMT | ( | Vec3 | position, |
out Vec3 | normal, | ||
BodyFlags | excludeFlags = BodyFlags::CommonCollisionExcludeFlags ) |
void TaleWorlds.Engine.Scene.PauseSceneSounds | ( | ) |
void TaleWorlds.Engine.Scene.ResumeSceneSounds | ( | ) |
void TaleWorlds.Engine.Scene.FinishSceneSounds | ( | ) |
bool TaleWorlds.Engine.Scene.BoxCastOnlyForCamera | ( | Vec3[] | boxPoints, |
Vec3 | centerPoint, | ||
bool | castSupportRay, | ||
Vec3 | supportRaycastPoint, | ||
Vec3 | dir, | ||
float | distance, | ||
out float | collisionDistance, | ||
out Vec3 | closestPoint, | ||
out GameEntity | collidedEntity, | ||
bool | preFilter = true, | ||
bool | postFilter = true, | ||
BodyFlags | excludedBodyFlags = BodyFlags::CameraCollisionRayCastExludeFlags | BodyFlags::DontCollideWithCamera ) |
bool TaleWorlds.Engine.Scene.BoxCast | ( | Vec3 | boxMin, |
Vec3 | boxMax, | ||
bool | castSupportRay, | ||
Vec3 | supportRaycastPoint, | ||
Vec3 | dir, | ||
float | distance, | ||
out float | collisionDistance, | ||
out Vec3 | closestPoint, | ||
out GameEntity | collidedEntity, | ||
BodyFlags | excludedBodyFlags = BodyFlags::CameraCollisionRayCastExludeFlags ) |
bool TaleWorlds.Engine.Scene.RayCastForClosestEntityOrTerrain | ( | Vec3 | sourcePoint, |
Vec3 | targetPoint, | ||
out float | collisionDistance, | ||
out Vec3 | closestPoint, | ||
out GameEntity | collidedEntity, | ||
float | rayThickness = 0::01f, | ||
BodyFlags | excludeBodyFlags = BodyFlags::CommonFocusRayCastExcludeFlags ) |
bool TaleWorlds.Engine.Scene.RayCastForClosestEntityOrTerrainMT | ( | Vec3 | sourcePoint, |
Vec3 | targetPoint, | ||
out float | collisionDistance, | ||
out Vec3 | closestPoint, | ||
out GameEntity | collidedEntity, | ||
float | rayThickness = 0::01f, | ||
BodyFlags | excludeBodyFlags = BodyFlags::CommonFocusRayCastExcludeFlags ) |
bool TaleWorlds.Engine.Scene.RayCastForClosestEntityOrTerrain | ( | Vec3 | sourcePoint, |
Vec3 | targetPoint, | ||
out float | collisionDistance, | ||
out GameEntity | collidedEntity, | ||
float | rayThickness = 0::01f, | ||
BodyFlags | excludeBodyFlags = BodyFlags::CommonFocusRayCastExcludeFlags ) |
bool TaleWorlds.Engine.Scene.RayCastForClosestEntityOrTerrainMT | ( | Vec3 | sourcePoint, |
Vec3 | targetPoint, | ||
out float | collisionDistance, | ||
out GameEntity | collidedEntity, | ||
float | rayThickness = 0::01f, | ||
BodyFlags | excludeBodyFlags = BodyFlags::CommonFocusRayCastExcludeFlags ) |
bool TaleWorlds.Engine.Scene.RayCastForClosestEntityOrTerrain | ( | Vec3 | sourcePoint, |
Vec3 | targetPoint, | ||
out float | collisionDistance, | ||
out Vec3 | closestPoint, | ||
float | rayThickness = 0::01f, | ||
BodyFlags | excludeBodyFlags = BodyFlags::CommonFocusRayCastExcludeFlags ) |
bool TaleWorlds.Engine.Scene.RayCastForClosestEntityOrTerrainMT | ( | Vec3 | sourcePoint, |
Vec3 | targetPoint, | ||
out float | collisionDistance, | ||
out Vec3 | closestPoint, | ||
float | rayThickness = 0::01f, | ||
BodyFlags | excludeBodyFlags = BodyFlags::CommonFocusRayCastExcludeFlags ) |
bool TaleWorlds.Engine.Scene.RayCastForClosestEntityOrTerrain | ( | Vec3 | sourcePoint, |
Vec3 | targetPoint, | ||
out float | collisionDistance, | ||
float | rayThickness = 0::01f, | ||
BodyFlags | excludeBodyFlags = BodyFlags::CommonFocusRayCastExcludeFlags ) |
bool TaleWorlds.Engine.Scene.RayCastForClosestEntityOrTerrainMT | ( | Vec3 | sourcePoint, |
Vec3 | targetPoint, | ||
out float | collisionDistance, | ||
float | rayThickness = 0::01f, | ||
BodyFlags | excludeBodyFlags = BodyFlags::CommonFocusRayCastExcludeFlags ) |
void TaleWorlds.Engine.Scene.ImportNavigationMeshPrefab | ( | string | navMeshPrefabName, |
int | navMeshGroupShift ) |
void TaleWorlds.Engine.Scene.MarkFacesWithIdAsLadder | ( | int | faceGroupId, |
bool | isLadder ) |
void TaleWorlds.Engine.Scene.SetAbilityOfFacesWithId | ( | int | faceGroupId, |
bool | isEnabled ) |
void TaleWorlds.Engine.Scene.SwapFaceConnectionsWithID | ( | int | hubFaceGroupID, |
int | toBeSeparatedFaceGroupId, | ||
int | toBeMergedFaceGroupId ) |
void TaleWorlds.Engine.Scene.MergeFacesWithId | ( | int | faceGroupId0, |
int | faceGroupId1, | ||
int | newFaceGroupId ) |
void TaleWorlds.Engine.Scene.SeparateFacesWithId | ( | int | faceGroupId0, |
int | faceGroupId1 ) |
bool TaleWorlds.Engine.Scene.IsAnyFaceWithId | ( | int | faceGroupId | ) |
bool TaleWorlds.Engine.Scene.GetNavigationMeshForPosition | ( | ref Vec3 | position | ) |
bool TaleWorlds.Engine.Scene.GetNavigationMeshForPosition | ( | ref Vec3 | position, |
out int | faceGroupId, | ||
float | heightDifferenceLimit = NavMeshHeightLimit ) |
bool TaleWorlds.Engine.Scene.DoesPathExistBetweenPositions | ( | WorldPosition | position, |
WorldPosition | destination ) |
void TaleWorlds.Engine.Scene.SetLandscapeRainMaskData | ( | byte[] | data | ) |
void TaleWorlds.Engine.Scene.EnsurePostfxSystem | ( | ) |
void TaleWorlds.Engine.Scene.SetBloom | ( | bool | mode | ) |
void TaleWorlds.Engine.Scene.SetDofMode | ( | bool | mode | ) |
void TaleWorlds.Engine.Scene.SetOcclusionMode | ( | bool | mode | ) |
void TaleWorlds.Engine.Scene.SetExternalInjectionTexture | ( | Texture | texture | ) |
void TaleWorlds.Engine.Scene.SetSunshaftMode | ( | bool | mode | ) |
Vec3 TaleWorlds.Engine.Scene.GetSunDirection | ( | ) |
float TaleWorlds.Engine.Scene.GetNorthAngle | ( | ) |
float TaleWorlds.Engine.Scene.GetNorthRotation | ( | ) |
bool TaleWorlds.Engine.Scene.GetTerrainMinMaxHeight | ( | out float | minHeight, |
out float | maxHeight ) |
void TaleWorlds.Engine.Scene.GetPhysicsMinMax | ( | ref Vec3 | min_max | ) |
bool TaleWorlds.Engine.Scene.IsEditorScene | ( | ) |
void TaleWorlds.Engine.Scene.SetMotionBlurMode | ( | bool | mode | ) |
void TaleWorlds.Engine.Scene.SetAntialiasingMode | ( | bool | mode | ) |
void TaleWorlds.Engine.Scene.SetDLSSMode | ( | bool | mode | ) |
IEnumerable< GameEntity > TaleWorlds.Engine.Scene.FindEntitiesWithTag | ( | string | tag | ) |
GameEntity TaleWorlds.Engine.Scene.FindEntityWithTag | ( | string | tag | ) |
GameEntity TaleWorlds.Engine.Scene.FindEntityWithName | ( | string | name | ) |
IEnumerable< GameEntity > TaleWorlds.Engine.Scene.FindEntitiesWithTagExpression | ( | string | expression | ) |
int TaleWorlds.Engine.Scene.GetSoftBoundaryVertexCount | ( | ) |
int TaleWorlds.Engine.Scene.GetHardBoundaryVertexCount | ( | ) |
Vec2 TaleWorlds.Engine.Scene.GetSoftBoundaryVertex | ( | int | index | ) |
Vec2 TaleWorlds.Engine.Scene.GetHardBoundaryVertex | ( | int | index | ) |
Path TaleWorlds.Engine.Scene.GetPathWithName | ( | string | name | ) |
void TaleWorlds.Engine.Scene.DeletePathWithName | ( | string | name | ) |
void TaleWorlds.Engine.Scene.AddPath | ( | string | name | ) |
void TaleWorlds.Engine.Scene.AddPathPoint | ( | string | name, |
MatrixFrame | frame ) |
void TaleWorlds.Engine.Scene.SetName | ( | string | name | ) |
string TaleWorlds.Engine.Scene.GetName | ( | ) |
string TaleWorlds.Engine.Scene.GetModulePath | ( | ) |
void TaleWorlds.Engine.Scene.SetOwnerThread | ( | ) |
Path[] TaleWorlds.Engine.Scene.GetPathsWithNamePrefix | ( | string | prefix | ) |
void TaleWorlds.Engine.Scene.SetUseConstantTime | ( | bool | value | ) |
bool TaleWorlds.Engine.Scene.CheckPointCanSeePoint | ( | Vec3 | source, |
Vec3 | target, | ||
float? | distanceToCheck = null ) |
void TaleWorlds.Engine.Scene.SetPlaySoundEventsAfterReadyToRender | ( | bool | value | ) |
void TaleWorlds.Engine.Scene.DisableStaticShadows | ( | bool | value | ) |
Mesh TaleWorlds.Engine.Scene.GetSkyboxMesh | ( | ) |
void TaleWorlds.Engine.Scene.SetAtmosphereWithName | ( | string | name | ) |
void TaleWorlds.Engine.Scene.FillEntityWithHardBorderPhysicsBarrier | ( | GameEntity | entity | ) |
void TaleWorlds.Engine.Scene.ClearDecals | ( | ) |
|
static |
|
static |
|
static |
|
get |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
get |
|
getset |