public void RemoveMultiMesh( UIntPtr agentVisualsPtr, UIntPtr multiMeshPointer, int bodyMeshIndex) { ScriptingInterfaceOfIMBAgentVisuals.call_RemoveMultiMeshDelegate(agentVisualsPtr, multiMeshPointer, bodyMeshIndex); }
public void AddHorseReinsClothMesh( UIntPtr agentVisualsPtr, UIntPtr reinMeshPointer, UIntPtr ropeMeshPointer) { ScriptingInterfaceOfIMBAgentVisuals.call_AddHorseReinsClothMeshDelegate(agentVisualsPtr, reinMeshPointer, ropeMeshPointer); }
public void AddSkinMeshesToAgentEntity( UIntPtr agentVisualsId, ref SkinGenerationParams skinParams, ref BodyProperties bodyProperties, bool useFaceCache) { ScriptingInterfaceOfIMBAgentVisuals.call_AddSkinMeshesToAgentEntityDelegate(agentVisualsId, ref skinParams, ref bodyProperties, useFaceCache); }
public void SetLodAtlasShadingIndex( UIntPtr agentVisualsId, int index, bool useTeamColor, uint teamColor1, uint teamColor2) { ScriptingInterfaceOfIMBAgentVisuals.call_SetLodAtlasShadingIndexDelegate(agentVisualsId, index, useTeamColor, teamColor1, teamColor2); }
public void Tick( UIntPtr agentVisualsId, UIntPtr parentAgentVisualsId, float dt, bool entityMoving, float speed) { ScriptingInterfaceOfIMBAgentVisuals.call_TickDelegate(agentVisualsId, parentAgentVisualsId, dt, entityMoving, speed); }
public void StartRhubarbRecord(UIntPtr agentVisualsId, string path, int soundId) { byte[] numArray = (byte[])null; if (path != null) { numArray = CallbackStringBufferManager.StringBuffer0; int bytes = ScriptingInterfaceOfIMBAgentVisuals._utf8.GetBytes(path, 0, path.Length, numArray, 0); numArray[bytes] = (byte)0; } ScriptingInterfaceOfIMBAgentVisuals.call_StartRhubarbRecordDelegate(agentVisualsId, numArray, soundId); }
public void ApplySkeletonScale( UIntPtr agentVisualsId, Vec3 mountSitBoneScale, float mountRadiusAdder, byte boneCount, sbyte[] boneIndices, Vec3[] boneScales) { PinnedArrayData <sbyte> pinnedArrayData1 = new PinnedArrayData <sbyte>(boneIndices); IntPtr pointer1 = pinnedArrayData1.Pointer; PinnedArrayData <Vec3> pinnedArrayData2 = new PinnedArrayData <Vec3>(boneScales); IntPtr pointer2 = pinnedArrayData2.Pointer; ScriptingInterfaceOfIMBAgentVisuals.call_ApplySkeletonScaleDelegate(agentVisualsId, mountSitBoneScale, mountRadiusAdder, boneCount, pointer1, pointer2); pinnedArrayData1.Dispose(); pinnedArrayData2.Dispose(); }
public MBAgentVisuals CreateAgentVisuals( UIntPtr scenePtr, string ownerName, Vec3 eyeOffset) { byte[] numArray = (byte[])null; if (ownerName != null) { numArray = CallbackStringBufferManager.StringBuffer0; int bytes = ScriptingInterfaceOfIMBAgentVisuals._utf8.GetBytes(ownerName, 0, ownerName.Length, numArray, 0); numArray[bytes] = (byte)0; } NativeObjectPointer nativeObjectPointer = ScriptingInterfaceOfIMBAgentVisuals.call_CreateAgentVisualsDelegate(scenePtr, numArray, eyeOffset); MBAgentVisuals mbAgentVisuals = (MBAgentVisuals)null; if (nativeObjectPointer.Pointer != UIntPtr.Zero) { mbAgentVisuals = new MBAgentVisuals(nativeObjectPointer.Pointer); LibraryApplicationInterface.IManaged.DecreaseReferenceCount(nativeObjectPointer.Pointer); } return(mbAgentVisuals); }
public void DestructAgentRendererSceneController( UIntPtr scenePointer, UIntPtr agentRendererSceneControllerPointer) { ScriptingInterfaceOfIMBAgentVisuals.call_DestructAgentRendererSceneControllerDelegate(scenePointer, agentRendererSceneControllerPointer); }
public void AddMesh(UIntPtr agentVisualsId, UIntPtr meshPointer) => ScriptingInterfaceOfIMBAgentVisuals.call_AddMeshDelegate(agentVisualsId, meshPointer);
public void SetSkeleton(UIntPtr agentVisualsId, UIntPtr skeletonPtr) => ScriptingInterfaceOfIMBAgentVisuals.call_SetSkeletonDelegate(agentVisualsId, skeletonPtr);
public UIntPtr CreateAgentRendererSceneController( UIntPtr scenePointer, int maxRenderCount) { return(ScriptingInterfaceOfIMBAgentVisuals.call_CreateAgentRendererSceneControllerDelegate(scenePointer, maxRenderCount)); }
public void SetFaceGenerationParams( UIntPtr agentVisualsId, FaceGenerationParams faceGenerationParams) { ScriptingInterfaceOfIMBAgentVisuals.call_SetFaceGenerationParamsDelegate(agentVisualsId, faceGenerationParams); }
public void BatchLastLodMeshes(UIntPtr agentVisualsPtr) => ScriptingInterfaceOfIMBAgentVisuals.call_BatchLastLodMeshesDelegate(agentVisualsPtr);
public void UpdateSkeletonScale(UIntPtr agentVisualsId, int bodyDeformType) => ScriptingInterfaceOfIMBAgentVisuals.call_UpdateSkeletonScaleDelegate(agentVisualsId, bodyDeformType);
public void ClearVisualComponents(UIntPtr agentVisualsId, bool removeSkeleton) => ScriptingInterfaceOfIMBAgentVisuals.call_ClearVisualComponentsDelegate(agentVisualsId, removeSkeleton);
public void RemoveMesh(UIntPtr agentVisualsPtr, UIntPtr meshPointer) => ScriptingInterfaceOfIMBAgentVisuals.call_RemoveMeshDelegate(agentVisualsPtr, meshPointer);
public void SetEntity(UIntPtr agentVisualsId, UIntPtr entityPtr) => ScriptingInterfaceOfIMBAgentVisuals.call_SetEntityDelegate(agentVisualsId, entityPtr);
public void LazyUpdateAgentRendererData(UIntPtr agentVisualsId) => ScriptingInterfaceOfIMBAgentVisuals.call_LazyUpdateAgentRendererDataDelegate(agentVisualsId);