/* ******************************************************** */
    //! Draw-Object Set

    /*!
     * @param InstanceRoot
     *      Draw-Object's Root
     * @retval	Return-Value
     *      (None)
     *
     * Don't use this function. <br>
     * (This function is for Internal-Processing)
     */
    public void DrawSet(Library_SpriteStudio.Script.Root InstanceRoot)
    {
        if (null != ChainDrawObject)
        {
            /* MEMO: Sort execute after all Draw-Objects are set. */
            InstanceRoot.DrawObject.Data.InstanceRoot = InstanceRoot;
            ChainDrawObject.ChainAddForce(InstanceRoot.DrawObject);
        }
    }
Пример #2
0
            /* ******************************************************** */
            //! Create "Cell-Map Change"-Table

            /*!
             * @param	InstanceRoot
             *      Animation(or Effect)-Data
             * @retval	Return-Value
             *      Created "Cell-Map Change"-Table<br>
             *      null == Failure
             *
             * Create the "Cell-Map Change"-Table on the basis of the initial "Cell-Map" information of the animation data.<br>
             * Caution: The result is referencing data in initial "Cell-Map"s.
             */
            public static Library_SpriteStudio.Control.CellChange[][] Create(Library_SpriteStudio.Script.Root InstanceRoot)
            {
                return((null == InstanceRoot) ? null : Create(InstanceRoot.DataCellMap.ListDataCellMap));
            }