INTERNAL_CALL_GetMatrix() private method

private INTERNAL_CALL_GetMatrix ( Material self, int nameID, Matrix4x4 &value ) : void
self Material
nameID int
value Matrix4x4
return void
示例#1
0
        public Matrix4x4 GetMatrix(int nameID)
        {
            Matrix4x4 result;

            Material.INTERNAL_CALL_GetMatrix(this, nameID, out result);
            return(result);
        }
示例#2
0
        /// <summary>
        ///   <para>Get a named matrix value from the shader.</para>
        /// </summary>
        /// <param name="propertyName"></param>
        /// <param name="nameID"></param>
        public Matrix4x4 GetMatrix(int nameID)
        {
            Matrix4x4 matrix4x4;

            Material.INTERNAL_CALL_GetMatrix(this, nameID, out matrix4x4);
            return(matrix4x4);
        }