Ejemplo n.º 1
0
    static void Object_set(FSNScriptSequence.Parser.ICommandGenerateProtocol protocol)
    {
        var newObjectSeg = new Segments.GObject();

        newObjectSeg.command = Segments.Object.CommandType.SetKey;

        _Object_setupSegment(newObjectSeg, protocol);                   // 셋업

        protocol.PushSegment(new FSNScriptSequence.Parser.GeneratedSegmentInfo()
        {
            newSeg        = newObjectSeg,
            usePrevPeriod = true,
            selfPeriod    = false
        });
    }
Ejemplo n.º 2
0
 static void _Object_setupSegment(Segments.GObject seg, FSNScriptSequence.Parser.ICommandGenerateProtocol protocol)
 {
     _BaseObject_setupSegment <Segments.GObject>((int)FSNSnapshot.PreDefinedLayers.Object_Default, seg, protocol);
 }