internal void Construct() { m_components.Clear(); m_visible = true; MyUtils.Init(ref m_ID); m_ID.Clear(); LocalAabb = null; RelativeTransform = null; Aabb = BoundingBoxD.CreateInvalid(); }
internal override void Construct() { base.Construct(); Type = MyActorComponentEnum.Instancing; MyUtils.Init(ref m_owners); m_owners.Clear(); MyUtils.Init(ref m_ID); m_ID.Clear(); VB = VertexBufferId.NULL; m_input = MyVertexInputLayout.Empty; m_stride = -1; m_type = MyRenderInstanceBufferType.Invalid; m_capacity = -1; }