#include <C:/adskgit/3dsmax/3dsmax/3dswin/src/maxsdk/include/ParticleFlow/IParticleChannelTrueFalseIterator.h>
◆ OrbazTrueBlockEnumerator()
142 : m_trueBlocks(trueBlocks)
143 , m_blockIndex(-1)
144 {
145 }
◆ proc()
148 {
149 int curMajorIndex = n & kMajorIndexMask;
150 if (m_blockIndex >= 0)
151 {
152 if (m_trueBlocks[m_blockIndex].GetMajorIndex() != curMajorIndex)
153 {
154 m_trueBlocks[++m_blockIndex].SetMajorIndex(curMajorIndex);
155 }
156 }
157 else
158 {
159 m_blockIndex = 0;
160 m_trueBlocks[0].SetMajorIndex(curMajorIndex);
161 }
162 m_trueBlocks[m_blockIndex].AddBlockIndex(n);
163 }
◆ NumBlocksSet()
165{ return m_blockIndex+1; }
◆ operator=()
167 {
168 if (this != &rhs)
169 {
170 m_trueBlocks = rhs.m_trueBlocks;
171 m_blockIndex = rhs.m_blockIndex;
172 }
173 return *this;
174 }