コード例 #1
0
        /// <summary>
        /// Set the material properties on the primitives of the collision skin.
        /// </summary>
        protected void UpdateMaterialPropsOnCollisionSkin()
        {
            int count = mCollisionSkin.NumPrimitives;

            for (int i = 0; i < count; ++i)
            {
                mCollisionSkin.SetMaterialProperties(i, mMaterialProperties);
            }
        }