本文整理汇总了C#中AABB.Parse方法的典型用法代码示例。如果您正苦于以下问题:C# AABB.Parse方法的具体用法?C# AABB.Parse怎么用?C# AABB.Parse使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AABB
的用法示例。
在下文中一共展示了AABB.Parse方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Parse
/// <summary>
/// Parses SceneCachedValues from given GameBitBuffer.
/// </summary>
/// <param name="buffer">The GameBitBuffer to parse from.</param>
public void Parse(GameBitBuffer buffer)
{
Unknown1 = buffer.ReadInt(32);
Unknown2 = buffer.ReadInt(32);
Unknown3 = buffer.ReadInt(32);
AABB1 = new AABB();
AABB1.Parse(buffer);
AABB2 = new AABB();
AABB2.Parse(buffer);
Unknown4 = new int[4];
for (int i = 0; i < Unknown4.Length; i++) Unknown4[i] = buffer.ReadInt(32);
Unknown5 = buffer.ReadInt(32);
}
示例2: Parse
public void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadInt(32);
Field1 = buffer.ReadInt(32);
Field2 = buffer.ReadInt(32);
Field3 = new AABB();
Field3.Parse(buffer);
Field4 = new AABB();
Field4.Parse(buffer);
Field5 = new int[4];
for(int i = 0;i < _Field5.Length;i++) _Field5[i] = buffer.ReadInt(32);
Field6 = buffer.ReadInt(32);
}
示例3: Parse
public void Parse(GameBitBuffer buffer)
{
Field0 = buffer.ReadCharArray(64);
Field1 = buffer.ReadInt(32);
Field2 = new AABB();
Field2.Parse(buffer);
wsBounds = new Sphere();
wsBounds.Parse(buffer);
Field4 = new PRSTransform();
Field4.Parse(buffer);
Field5 = new PRSTransform();
Field5.Parse(buffer);
Field6 = new PRSTransform();
Field6.Parse(buffer);
Field7 = buffer.ReadInt(32);
serShapes = new SerializeData();
serShapes.Parse(buffer);
Field9 = new DT_VARIABLEARRAY();
Field9.Parse(buffer);
serConstraint = new SerializeData();
serConstraint.Parse(buffer);
Field11 = new DT_VARIABLEARRAY();
Field11.Parse(buffer);
snoParticleSystem = buffer.ReadInt(32);
}