INTERNAL_CALL_GetTreeInstance() 개인적인 메소드

private INTERNAL_CALL_GetTreeInstance ( TerrainData self, int index, TreeInstance &value ) : void
self TerrainData
index int
value TreeInstance
리턴 void
예제 #1
0
        public TreeInstance GetTreeInstance(int index)
        {
            TreeInstance result;

            TerrainData.INTERNAL_CALL_GetTreeInstance(this, index, out result);
            return(result);
        }
예제 #2
0
        /// <summary>
        ///   <para>Get the tree instance at the specified index. It is used as a faster version of treeInstances[index] as this function doesn't create the entire tree instances array.</para>
        /// </summary>
        /// <param name="index">The index of the tree instance.</param>
        public TreeInstance GetTreeInstance(int index)
        {
            TreeInstance treeInstance;

            TerrainData.INTERNAL_CALL_GetTreeInstance(this, index, out treeInstance);
            return(treeInstance);
        }