M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
|
Inherits NativeObject.
Public Member Functions | |
void | Tick (MBAgentVisuals parentAgentVisuals, float dt, bool entityMoving, float speed) |
MatrixFrame | GetGlobalFrame () |
MatrixFrame | GetFrame () |
GameEntity | GetEntity () |
bool | IsValid () |
Vec3 | GetGlobalStableEyePoint (bool isHumanoid) |
Vec3 | GetGlobalStableNeckPoint (bool isHumanoid) |
MatrixFrame | GetBoneEntitialFrame (sbyte bone, bool useBoneMapping) |
RagdollState | GetCurrentRagdollState () |
sbyte | GetRealBoneIndex (HumanBone boneType) |
CompositeComponent | AddPrefabToAgentVisualBoneByBoneType (string prefabName, HumanBone boneType) |
CompositeComponent | AddPrefabToAgentVisualBoneByRealBoneIndex (string prefabName, sbyte realBoneIndex) |
GameEntity | GetAttachedWeaponEntity (int attachedWeaponIndex) |
void | SetFrame (ref MatrixFrame frame) |
void | SetEntity (GameEntity value) |
BoneBodyTypeData | GetBoneTypeData (sbyte boneIndex) |
Skeleton | GetSkeleton () |
void | SetSkeleton (Skeleton newSkeleton) |
void | CreateParticleSystemAttachedToBone (string particleName, sbyte boneIndex, ref MatrixFrame boneLocalParticleFrame) |
void | CreateParticleSystemAttachedToBone (int runtimeParticleindex, sbyte boneIndex, ref MatrixFrame boneLocalParticleFrame) |
void | SetVisible (bool value) |
bool | GetVisible () |
void | AddChildEntity (GameEntity entity) |
void | SetClothWindToWeaponAtIndex (Vec3 windDirection, bool isLocal, EquipmentIndex weaponIndex) |
void | RemoveChildEntity (GameEntity entity, int removeReason) |
bool | CheckResources (bool addToQueue) |
void | AddSkinMeshes (SkinGenerationParams skinParams, BodyProperties bodyProperties, bool useGPUMorph, bool useFaceCache) |
void | SetFaceGenerationParams (FaceGenerationParams faceGenerationParams) |
void | SetLodAtlasShadingIndex (int index, bool useTeamColor, uint teamColor1, uint teamColor2) |
void | ClearVisualComponents (bool removeSkeleton) |
void | LazyUpdateAgentRendererData () |
void | AddMultiMesh (MetaMesh metaMesh, BodyMeshTypes bodyMeshIndex) |
void | ApplySkeletonScale (Vec3 mountSitBoneScale, float mountRadiusAdder, sbyte[] boneIndices, Vec3[] boneScales) |
void | UpdateSkeletonScale (int bodyDeformType) |
void | AddHorseReinsClothMesh (MetaMesh reinMesh, MetaMesh ropeMesh) |
void | BatchLastLodMeshes () |
void | AddWeaponToAgentEntity (int slotIndex, in WeaponData weaponData, WeaponStatsData[] weaponStatsData, in WeaponData ammoWeaponData, WeaponStatsData[] ammoWeaponStatsData, GameEntity cachedEntity) |
void | UpdateQuiverMeshesWithoutAgent (int weaponIndex, int ammoCount) |
void | SetWieldedWeaponIndices (int slotIndexRightHand, int slotIndexLeftHand) |
void | ClearAllWeaponMeshes () |
void | ClearWeaponMeshes (EquipmentIndex index) |
void | MakeVoice (int voiceId, Vec3 position) |
void | SetSetupMorphNode (bool value) |
void | UseScaledWeapons (bool value) |
void | SetClothComponentKeepStateOfAllMeshes (bool keepState) |
MatrixFrame | GetFacegenScalingMatrix () |
void | ReplaceMeshWithMesh (MetaMesh oldMetaMesh, MetaMesh newMetaMesh, BodyMeshTypes bodyMeshIndex) |
void | SetAgentActionChannel (int actionChannelNo, int actionIndex, float channelParameter=0.0f, float blendPeriodOverride=-0.2f, bool forceFaceMorphRestart=true) |
void | SetVoiceDefinitionIndex (int voiceDefinitionIndex, float voicePitch) |
void | StartRhubarbRecord (string path, int soundId) |
Works only for humanoid animation systems. | |
void | SetContourColor (uint? color, bool alwaysVisible=true) |
void | SetEnableOcclusionCulling (bool enable) |
void | SetAgentLodZeroOrMax (bool makeZero) |
void | SetAgentLocalSpeed (Vec2 speed) |
void | SetLookDirection (Vec3 direction) |
void | Reset () |
void | ResetNextFrame () |
Static Public Member Functions | |
static MBAgentVisuals | CreateAgentVisuals (Scene scene, string ownerName, Vec3 eyeOffset) |
static void | FillEntityWithBodyMeshesWithoutAgentVisuals (GameEntity entity, SkinGenerationParams skinParams, BodyProperties bodyProperties, MetaMesh glovesMesh) |
static BodyMeshTypes | GetBodyMeshIndex (EquipmentIndex equipmentIndex) |
|
static |
void TaleWorlds.MountAndBlade.MBAgentVisuals.Tick | ( | MBAgentVisuals | parentAgentVisuals, |
float | dt, | ||
bool | entityMoving, | ||
float | speed | ||
) |
MatrixFrame TaleWorlds.MountAndBlade.MBAgentVisuals.GetGlobalFrame | ( | ) |
MatrixFrame TaleWorlds.MountAndBlade.MBAgentVisuals.GetFrame | ( | ) |
GameEntity TaleWorlds.MountAndBlade.MBAgentVisuals.GetEntity | ( | ) |
bool TaleWorlds.MountAndBlade.MBAgentVisuals.IsValid | ( | ) |
Vec3 TaleWorlds.MountAndBlade.MBAgentVisuals.GetGlobalStableEyePoint | ( | bool | isHumanoid | ) |
Vec3 TaleWorlds.MountAndBlade.MBAgentVisuals.GetGlobalStableNeckPoint | ( | bool | isHumanoid | ) |
MatrixFrame TaleWorlds.MountAndBlade.MBAgentVisuals.GetBoneEntitialFrame | ( | sbyte | bone, |
bool | useBoneMapping | ||
) |
RagdollState TaleWorlds.MountAndBlade.MBAgentVisuals.GetCurrentRagdollState | ( | ) |
sbyte TaleWorlds.MountAndBlade.MBAgentVisuals.GetRealBoneIndex | ( | HumanBone | boneType | ) |
CompositeComponent TaleWorlds.MountAndBlade.MBAgentVisuals.AddPrefabToAgentVisualBoneByBoneType | ( | string | prefabName, |
HumanBone | boneType | ||
) |
CompositeComponent TaleWorlds.MountAndBlade.MBAgentVisuals.AddPrefabToAgentVisualBoneByRealBoneIndex | ( | string | prefabName, |
sbyte | realBoneIndex | ||
) |
GameEntity TaleWorlds.MountAndBlade.MBAgentVisuals.GetAttachedWeaponEntity | ( | int | attachedWeaponIndex | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetFrame | ( | ref MatrixFrame | frame | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetEntity | ( | GameEntity | value | ) |
|
static |
BoneBodyTypeData TaleWorlds.MountAndBlade.MBAgentVisuals.GetBoneTypeData | ( | sbyte | boneIndex | ) |
Skeleton TaleWorlds.MountAndBlade.MBAgentVisuals.GetSkeleton | ( | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetSkeleton | ( | Skeleton | newSkeleton | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.CreateParticleSystemAttachedToBone | ( | string | particleName, |
sbyte | boneIndex, | ||
ref MatrixFrame | boneLocalParticleFrame | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.CreateParticleSystemAttachedToBone | ( | int | runtimeParticleindex, |
sbyte | boneIndex, | ||
ref MatrixFrame | boneLocalParticleFrame | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetVisible | ( | bool | value | ) |
bool TaleWorlds.MountAndBlade.MBAgentVisuals.GetVisible | ( | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.AddChildEntity | ( | GameEntity | entity | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetClothWindToWeaponAtIndex | ( | Vec3 | windDirection, |
bool | isLocal, | ||
EquipmentIndex | weaponIndex | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.RemoveChildEntity | ( | GameEntity | entity, |
int | removeReason | ||
) |
bool TaleWorlds.MountAndBlade.MBAgentVisuals.CheckResources | ( | bool | addToQueue | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.AddSkinMeshes | ( | SkinGenerationParams | skinParams, |
BodyProperties | bodyProperties, | ||
bool | useGPUMorph, | ||
bool | useFaceCache | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetFaceGenerationParams | ( | FaceGenerationParams | faceGenerationParams | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetLodAtlasShadingIndex | ( | int | index, |
bool | useTeamColor, | ||
uint | teamColor1, | ||
uint | teamColor2 | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.ClearVisualComponents | ( | bool | removeSkeleton | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.LazyUpdateAgentRendererData | ( | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.AddMultiMesh | ( | MetaMesh | metaMesh, |
BodyMeshTypes | bodyMeshIndex | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.ApplySkeletonScale | ( | Vec3 | mountSitBoneScale, |
float | mountRadiusAdder, | ||
sbyte[] | boneIndices, | ||
Vec3[] | boneScales | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.UpdateSkeletonScale | ( | int | bodyDeformType | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.AddHorseReinsClothMesh | ( | MetaMesh | reinMesh, |
MetaMesh | ropeMesh | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.BatchLastLodMeshes | ( | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.AddWeaponToAgentEntity | ( | int | slotIndex, |
in WeaponData | weaponData, | ||
WeaponStatsData[] | weaponStatsData, | ||
in WeaponData | ammoWeaponData, | ||
WeaponStatsData[] | ammoWeaponStatsData, | ||
GameEntity | cachedEntity | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.UpdateQuiverMeshesWithoutAgent | ( | int | weaponIndex, |
int | ammoCount | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetWieldedWeaponIndices | ( | int | slotIndexRightHand, |
int | slotIndexLeftHand | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.ClearAllWeaponMeshes | ( | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.ClearWeaponMeshes | ( | EquipmentIndex | index | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.MakeVoice | ( | int | voiceId, |
Vec3 | position | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetSetupMorphNode | ( | bool | value | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.UseScaledWeapons | ( | bool | value | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetClothComponentKeepStateOfAllMeshes | ( | bool | keepState | ) |
MatrixFrame TaleWorlds.MountAndBlade.MBAgentVisuals.GetFacegenScalingMatrix | ( | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.ReplaceMeshWithMesh | ( | MetaMesh | oldMetaMesh, |
MetaMesh | newMetaMesh, | ||
BodyMeshTypes | bodyMeshIndex | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetAgentActionChannel | ( | int | actionChannelNo, |
int | actionIndex, | ||
float | channelParameter = 0::0f , |
||
float | blendPeriodOverride = -0::2f , |
||
bool | forceFaceMorphRestart = true |
||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetVoiceDefinitionIndex | ( | int | voiceDefinitionIndex, |
float | voicePitch | ||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.StartRhubarbRecord | ( | string | path, |
int | soundId | ||
) |
path | |
soundId |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetContourColor | ( | uint? | color, |
bool | alwaysVisible = true |
||
) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetEnableOcclusionCulling | ( | bool | enable | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetAgentLodZeroOrMax | ( | bool | makeZero | ) |
makeZero | If false agent lod will be set to max. |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetAgentLocalSpeed | ( | Vec2 | speed | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.SetLookDirection | ( | Vec3 | direction | ) |
|
static |
void TaleWorlds.MountAndBlade.MBAgentVisuals.Reset | ( | ) |
void TaleWorlds.MountAndBlade.MBAgentVisuals.ResetNextFrame | ( | ) |