/// <summary> /// </summary> /// <param name="source"> /// </param> /// <param name="pointerX"> /// </param> /// <param name="pointerY"> /// </param> /// <param name="meshUnderPointer"> /// </param> public ActionEvent(AbstractMesh source, double pointerX, double pointerY, AbstractMesh meshUnderPointer) { this.meshUnderPointer = meshUnderPointer; this.source = source; this.pointerX = pointerX; this.pointerY = pointerY; }
/// <summary> /// </summary> /// <param name="triggerOptions"> /// </param> /// <param name="condition"> /// </param> public Action(TriggerOptions triggerOptions, Condition condition = null) { this.trigger = triggerOptions.trigger; this._triggerParameter = triggerOptions.parameter; this._nextActiveAction = this; this._condition = condition; }
public async ValueTask <bool> isReadyForSubMesh(AbstractMesh mesh, BaseSubMesh subMesh, System.Nullable <bool> useInstances = null) { return(await EventHorizonBlazorInterop.Func <bool>( new object[] { new string[] { this.___guid, "isReadyForSubMesh" }, mesh, subMesh, useInstances } )); }
public async ValueTask <bool> canAffectMesh(AbstractMesh mesh) { return(await EventHorizonBlazorInterop.Func <bool>( new object[] { new string[] { this.___guid, "canAffectMesh" }, mesh } )); }
public async ValueTask getDirectionToRef(Vector3 localAxis, Vector3 result, AbstractMesh mesh = null) { await EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "getDirectionToRef" }, localAxis, mesh, result } ); }
public async ValueTask setAbsolutePosition(Vector3 position, AbstractMesh mesh = null) { await EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "setAbsolutePosition" }, position, mesh } ); }
public void prepareDefines(AbstractMesh mesh, NodeMaterial nodeMaterial, NodeMaterialDefines defines) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "prepareDefines" }, mesh, nodeMaterial, defines } ); }
public void start(AbstractMesh emitter = null) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "start" }, emitter } ); }
public bool needAlphaBlendingForMesh(AbstractMesh mesh) { return(EventHorizonBlazorInterop.Func <bool>( new object[] { new string[] { this.___guid, "needAlphaBlendingForMesh" }, mesh } )); }
public bool isReady(AbstractMesh mesh = null, System.Nullable <bool> useInstances = null) { return(EventHorizonBlazorInterop.Func <bool>( new object[] { new string[] { this.___guid, "isReady" }, mesh, useInstances } )); }
/// <summary> /// Создаем тессеракт /// </summary> void Start() { meshObject = TesseractMesh.GenerateHypercube(); projection = new GameObject(meshObject.Name); projection.AddComponent <MeshFilter>(); MeshRenderer meshrenderer = projection.AddComponent <MeshRenderer>(); meshrenderer.materials = new Material[] { edgeColor, innerColor }; }
public async ValueTask zoomOnMesh(AbstractMesh mesh, System.Nullable <bool> focusOnOriginXZ = null, ActionCallback onAnimationEnd = null) { await EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "zoomOnMesh" }, mesh, focusOnOriginXZ, onAnimationEnd } ); }
public void forceCompilationAsync(AbstractMesh mesh, IMaterialCompilationOptions options = null) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "forceCompilationAsync" }, mesh, options } ); }
public void provideFallbacks(AbstractMesh mesh, EffectFallbacks fallbacks) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "provideFallbacks" }, mesh, fallbacks } ); }
public bool canAffectMesh(AbstractMesh mesh) { return(EventHorizonBlazorInterop.Func <bool>( new object[] { new string[] { this.___guid, "canAffectMesh" }, mesh } )); }
public void translate(Vector3 vec, System.Nullable <int> space = null, AbstractMesh mesh = null) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "translate" }, vec, space, mesh } ); }
public void getPositionToRef(AbstractMesh mesh, Vector3 result, System.Nullable <int> space = null) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "getPositionToRef" }, space, mesh, result } ); }
public void forceCompilation(AbstractMesh mesh, ActionCallback <Material> onCompiled = null, IMaterialCompilationOptions options = null, ActionCallback <string> onError = null) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "forceCompilation" }, mesh, onCompiled, options, onError } ); }
public void initializeDefines(AbstractMesh mesh, NodeMaterial nodeMaterial, NodeMaterialDefines defines, System.Nullable <bool> useInstances = null) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "initializeDefines" }, mesh, nodeMaterial, defines, useInstances } ); }
public async ValueTask forceCompilationAsync(AbstractMesh mesh, IMaterialCompilationOptions options = null) { await EventHorizonBlazorInterop.Task <CachedEntity>( new object[] { new string[] { this.___guid, "forceCompilationAsync" }, mesh, options } ); }
public void attachToMesh(AbstractMesh mesh, System.Nullable <bool> supportPointerMove = null) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "attachToMesh" }, mesh, supportPointerMove } ); }
public async ValueTask <decimal[]> getTransformMatrices(AbstractMesh mesh) { return(await EventHorizonBlazorInterop.FuncArray <decimal>( new object[] { new string[] { this.___guid, "getTransformMatrices" }, mesh } )); }
public async ValueTask getAbsolutePositionToRef(AbstractMesh mesh, Vector3 result) { await EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "getAbsolutePositionToRef" }, mesh, result } ); }
public ValueTask set_originMesh(AbstractMesh value) { __originMesh = null; return(EventHorizonBlazorInterop.Set( this.___guid, "originMesh", value )); }
public async ValueTask getRotationMatrixToRef(AbstractMesh mesh, Matrix result, System.Nullable <int> space = null) { await EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "getRotationMatrixToRef" }, space, mesh, result } ); }
public static void Parse(object parsedActions, AbstractMesh @object, Scene scene) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { "BABYLON", "ActionManager", "Parse" }, parsedActions, @object, scene } ); }
public ValueTask set_lockedTarget(AbstractMesh value) { __lockedTarget = null; return(EventHorizonBlazorInterop.Set( this.___guid, "lockedTarget", value )); }
public void zoomOnMeshHierarchy(AbstractMesh mesh, System.Nullable <bool> focusOnOriginXZ = null, ActionCallback onAnimationEnd = null) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "zoomOnMeshHierarchy" }, mesh, focusOnOriginXZ, onAnimationEnd } ); }
public void setTarget(AbstractMesh target, System.Nullable <bool> toBoundingCenter = null, System.Nullable <bool> allowSamePosition = null) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "setTarget" }, target, toBoundingCenter, allowSamePosition } ); }
public void addCPUSkinningFallback(decimal rank, AbstractMesh mesh) { EventHorizonBlazorInterop.Func <CachedEntity>( new object[] { new string[] { this.___guid, "addCPUSkinningFallback" }, rank, mesh } ); }