コード例 #1
0
        public StyleAnimationKeyFrame(float key, StyleKeyFrameValue p0)
        {
            this.key        = key;
            this.properties = StructList <StyleKeyFrameValue> .Get();

            this.properties.EnsureCapacity(1);
            this.properties[0]    = p0;
            this.properties.Count = 1;
        }
コード例 #2
0
        public StyleAnimationKeyFrame(float key, StyleKeyFrameValue p0, StyleKeyFrameValue p1, StyleKeyFrameValue p2)
        {
            this.key        = key;
            this.properties = StructList <StyleKeyFrameValue> .Get();

            this.properties.EnsureCapacity(3);
            this.properties[0]    = p0;
            this.properties[1]    = p1;
            this.properties[2]    = p2;
            this.properties.Count = 3;
        }
コード例 #3
0
 public ProcessedStyleKeyFrame(float time, StyleKeyFrameValue value)
 {
     this.time  = time;
     this.value = value;
 }