cullingMode
Configure whether the Particle System will still be simulated each frame, when it is offscreen.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.ParticleSystemModule
public ParticleSystemCullingMode cullingMode { get; set; }
Examples
using UnityEngine;using System.Collections;[RequireComponent(typeof(ParticleSystem))]public class ExampleClass : MonoBehaviour{ private ParticleSystem ps; void Start() { ps = GetComponent<ParticleSystem>(); var main = ps.main; main.cullingMode = ParticleSystemCullingMode.AlwaysSimulate; }}