protected override void SpawnEntities() { PUActor = World.CreateActor("PUActor"); PUComponent = PUActor.CreatePUSystemComponent("PUSystem", PUSystemName, true); PUComponent.PlaySystem(); distance = 50; zoomdistance = 5; VP.SetCameraYawPitchDistance(yaw, pitch, distance); }
public PUSystemComponent CreatePUSystemComponent(string inName, string inTemplate, bool inForcedLooping) { PUSystemComponent ret = new PUSystemComponent(EditorRendererPINVOKE.EditorActor_CreatePUSystemComponent(swigCPtr, inName, inTemplate, inForcedLooping), false); if (EditorRendererPINVOKE.SWIGPendingException.Pending) { throw EditorRendererPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PUSystemComponent obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }